mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user