summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-07-04 09:30:57 -0400
committerChristopher Speller <crspeller@gmail.com>2016-07-04 09:30:57 -0400
commit2305b2597f3658329479645820b985db78da103f (patch)
tree0754ac5a717f40d3cd4df010d9c7baeeb1abedd9 /web
parent5dfa4fb62979ab9d4eba3c33a29397fe10f7cbc3 (diff)
downloadchat-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 'web')
-rw-r--r--web/web_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/web_test.go b/web/web_test.go
index 0a9869e40..27912ea42 100644
--- a/web/web_test.go
+++ b/web/web_test.go
@@ -20,6 +20,7 @@ var URL string
func Setup() {
if api.Srv == nil {
+ utils.TranslationsPreInit()
utils.LoadConfig("config.json")
utils.InitTranslations(utils.Cfg.LocalizationSettings)
api.NewServer()