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
@@ -8,6 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func TestConfig(t *testing.T) {
|
||||
TranslationsPreInit()
|
||||
LoadConfig("config.json")
|
||||
InitTranslations(Cfg.LocalizationSettings)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user