fix for %v instead of %w

This commit is contained in:
Gregory Bednov 2025-07-15 15:05:19 +03:00
commit ac8a9610b9
3 changed files with 5 additions and 5 deletions

View file

@ -46,7 +46,7 @@ var rootCmd = &cobra.Command{
config, err := cfg.ReadConfig(defaultConfigPath)
if err != nil {
fmt.Printf("конфигурация не прочитана: %w", err)
fmt.Fprintf(os.Stderr, "конфигурация не прочитана: %v", err)
}
ctx, cancel := context.WithCancel(context.Background())