Skip to content

Commit

Permalink
remove unnecessary error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Jun 22, 2017
1 parent c13b212 commit eff193a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit eff193a

Please sign in to comment.