summaryrefslogtreecommitdiffstats
path: root/store
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 /store
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 'store')
-rw-r--r--store/sql_store_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/sql_store_test.go b/store/sql_store_test.go
index 19ae2caae..721e708b5 100644
--- a/store/sql_store_test.go
+++ b/store/sql_store_test.go
@@ -15,6 +15,7 @@ var store Store
func Setup() {
if store == nil {
+ utils.TranslationsPreInit()
utils.LoadConfig("config.json")
utils.InitTranslations(utils.Cfg.LocalizationSettings)
store = NewSqlStore()