From e0731b19357bfc13aa772b49531c19fa71c5a65e Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 5 Oct 2023 23:23:20 +0300 Subject: [PATCH] Don't use deprecated EM_LOG_FUNC_PARAMS flag. --- tdutils/td/utils/logging.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tdutils/td/utils/logging.cpp b/tdutils/td/utils/logging.cpp index cf73f5dfb..b31c0450c 100644 --- a/tdutils/td/utils/logging.cpp +++ b/tdutils/td/utils/logging.cpp @@ -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):