more error format fixes

This commit is contained in:
Andrew M
2020-04-20 09:20:16 -04:00
parent 3c26a7586d
commit 7cd1fd88fd
+1 -1
View File
@@ -201,7 +201,7 @@ func LoadConfig(path string) (*Config, error) {
if optionsMap, ok := value.(map[interface{}]interface{}); ok {
cfg.Ctrl.Options = channel2.LoadOptions(optionsMap)
if err := cfg.Ctrl.Options.Validate(); err != nil {
return nil, fmt.Errorf("error loading channel options for [ctrl/options]: %w", err)
return nil, fmt.Errorf("error loading channel options for [ctrl/options] (%v)", err)
}
}
}