MM-18741: clarify error message (#12357)

Clarify the error message that is emitted by the server when failing to parse the configuration.

Fixes: MM-18741
This commit is contained in:
Jesse Hallam
2019-09-26 23:47:13 -03:00
committed by GitHub
parent d82584a783
commit 993947c70a

View File

@@ -47,7 +47,7 @@ func serverCmdF(command *cobra.Command, args []string) error {
}
configStore, err := config.NewStore(configDSN, !disableConfigWatch)
if err != nil {
return err
return errors.Wrap(err, "failed to load configuration")
}
return runServer(configStore, disableConfigWatch, usedPlatform, interruptChan)