diff --git a/frameworks/native/appkit/app/main_thread.cpp b/frameworks/native/appkit/app/main_thread.cpp index 41e89d854e..cbaaf9f625 100644 --- a/frameworks/native/appkit/app/main_thread.cpp +++ b/frameworks/native/appkit/app/main_thread.cpp @@ -947,6 +947,7 @@ void MainThread::HandleLaunchApplication(const AppLaunchData &appLaunchData, con auto versionCode = appInfo.versionCode; wptr weak = this; auto uncaughtTask = [weak, bundleName, versionCode](NativeValue* v) { + HILOG_INFO("Js uncaught exception callback come."); NativeObject* obj = AbilityRuntime::ConvertNativeValueTo(v); std::string errorMsg = GetNativeStrFromJsTaggedObj(obj, "message"); std::string errorName = GetNativeStrFromJsTaggedObj(obj, "name");