remove unnecessary error msg

pull/480/head
Darien Raymond 2017-06-23 00:11:46 +02:00
parent c13b212fc6
commit eff193ab45
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}