fix error levels

This commit is contained in:
Darien Raymond committed 2017-12-27 22:25:12 +01:00
1 parent 9b15e2f6f7
commit 2bf5a008f0
11 files changed
+17 -21

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ func init() {
core.RegisterConfigLoader(core.ConfigFormat_JSON, func(input io.Reader) (*core.Config, error) {
config, err := jsonToProto(input)
if err != nil {
return nil, newError("failed to execute v2ctl to convert config file.").Base(err)
return nil, newError("failed to execute v2ctl to convert config file.").Base(err).AtWarning()
}
return config, nil
})