From eff193ab4517a5825603a01fe5d3f238ff6eced3 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 23 Jun 2017 00:11:46 +0200 Subject: [PATCH] remove unnecessary error msg --- loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader.go b/loader.go index 712770758..07ef279cc 100644 --- a/loader.go +++ b/loader.go @@ -23,7 +23,7 @@ func RegisterConfigLoader(format ConfigFormat, loader ConfigLoader) error { func LoadConfig(format ConfigFormat, input io.Reader) (*Config, error) { loader, found := configLoaderCache[format] if !found { - return nil, newError("Core: ", ConfigFormat_name[int32(format)], " is not loadable.") + return nil, newError(ConfigFormat_name[int32(format)], " is not loadable.") } return loader(input) }