diff options
author | enahum <nahumhbl@gmail.com> | 2016-07-04 09:30:57 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-07-04 09:30:57 -0400 |
commit | 2305b2597f3658329479645820b985db78da103f (patch) | |
tree | 0754ac5a717f40d3cd4df010d9c7baeeb1abedd9 /mattermost.go | |
parent | 5dfa4fb62979ab9d4eba3c33a29397fe10f7cbc3 (diff) | |
download | chat-2305b2597f3658329479645820b985db78da103f.tar.gz chat-2305b2597f3658329479645820b985db78da103f.tar.bz2 chat-2305b2597f3658329479645820b985db78da103f.zip |
PLT-3456 Fix Errors while starting the server (#3445)
* PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages.
* Fixing tests
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mattermost.go b/mattermost.go index 4cca4c200..bc90d1139 100644 --- a/mattermost.go +++ b/mattermost.go @@ -74,12 +74,12 @@ func doLoadConfig(filename string) (err string) { err = fmt.Sprintf("%v", r) } }() + utils.TranslationsPreInit() utils.LoadConfig(filename) return "" } func main() { - parseCmds() if errstr := doLoadConfig(flagConfigFile); errstr != "" { |