diff options
author | Corey Hulen <corey@hulen.com> | 2017-06-13 11:33:38 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-06-13 11:33:38 -0700 |
commit | 56883d6f95b268477a1f0ec956bc1891ce30c2a1 (patch) | |
tree | 670c2d62a13f92e1f8f668ddf65ae7e8c1b37714 /utils | |
parent | 08130096e5e12315d3912510f3914b37f0ece6b9 (diff) | |
download | chat-56883d6f95b268477a1f0ec956bc1891ce30c2a1.tar.gz chat-56883d6f95b268477a1f0ec956bc1891ce30c2a1.tar.bz2 chat-56883d6f95b268477a1f0ec956bc1891ce30c2a1.zip |
PLT-6766 fixing error logging (#6634)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/config.go b/utils/config.go index b5a26d298..b3506ec33 100644 --- a/utils/config.go +++ b/utils/config.go @@ -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() } |