Commit cf97658e authored by Andy Cobaugh's avatar Andy Cobaugh

be more clear that the config file not found is not an error

parent 08939961
......@@ -93,7 +93,7 @@ func initConfig() {
// If a config file is found, read it in.
err := viper.ReadInConfig()
if err != nil {
fmt.Fprintf(os.Stderr, "Error reading config file: %s\n", err)
fmt.Fprintf(os.Stderr, "Config file not found at %s, using defaults\n", err)
} else {
fmt.Fprintf(os.Stderr, "Using config file: %s\n", viper.ConfigFileUsed())
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment