mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-6766 fixing error logging (#6634)
This commit is contained in:
committed by
Christopher Speller
parent
08130096e5
commit
56883d6f95
@@ -336,7 +336,8 @@ func LoadConfig(fileName string) {
|
||||
if needSave {
|
||||
cfgMutex.Unlock()
|
||||
if err := SaveConfig(CfgFileName, &config); err != nil {
|
||||
l4g.Warn(T(err.Id))
|
||||
err.Translate(T)
|
||||
l4g.Warn(err.Error())
|
||||
}
|
||||
cfgMutex.Lock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user