author | Mikael Berthe <mikael@lilotux.net> |
Thu, 04 May 2017 21:19:12 +0200 | |
changeset 66 | 43d43c8b53aa |
parent 65 | 0491cc43911e |
child 67 | c72b15bec8d9 |
cmd/root.go | file | annotate | diff | comparison | revisions |
--- a/cmd/root.go Wed May 03 22:58:57 2017 +0200 +++ b/cmd/root.go Thu May 04 21:19:12 2017 +0200 @@ -186,7 +186,7 @@ err := viper.ReadInConfig() if err != nil { if cfgFile != "" { - errPrint("Error: cannot read configuration file '%s'", cfgFile) + errPrint("Error: cannot read configuration file '%s': %v", cfgFile, err) os.Exit(-1) } } else if viper.GetBool("verbose") {