From 7cd1fd88fd7dfef2c8b1ebe8bf14e8d953d4322f Mon Sep 17 00:00:00 2001 From: Andrew M Date: Mon, 20 Apr 2020 09:20:16 -0400 Subject: [PATCH] more error format fixes --- router/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/config.go b/router/config.go index e58116be0..45d7a685b 100644 --- a/router/config.go +++ b/router/config.go @@ -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) } } }