Don't use deprecated EM_LOG_FUNC_PARAMS flag.

This commit is contained in:
levlam 2023-10-05 23:23:20 +03:00
parent 9289270cd9
commit e0731b1935
1 changed files with 1 additions and 2 deletions

View File

@ -191,8 +191,7 @@ class DefaultLog final : public LogInterface {
#elif TD_EMSCRIPTEN
switch (log_level) {
case VERBOSITY_NAME(FATAL):
emscripten_log(EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_FUNC_PARAMS, "%s",
slice.c_str());
emscripten_log(EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK, "%s", slice.c_str());
EM_ASM(throw(UTF8ToString($0)), slice.c_str());
break;
case VERBOSITY_NAME(ERROR):