fix for %v instead of %w
This commit is contained in:
parent
8705f87504
commit
ac8a9610b9
3 changed files with 5 additions and 5 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue