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
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
5dfa4fb629
Коммит
2305b2597f
@@ -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()
|
||||
|
||||
Ссылка в новой задаче
Block a user