diff --git a/frameworks/js/napi/session/include/napi_session.h b/frameworks/js/napi/session/include/napi_session.h index 0a3a761cbe2347f2d30e54d1f0e7448f0125c4f7..b0afd61b6e4742963f6b50efd52f8dc148ef88b4 100644 --- a/frameworks/js/napi/session/include/napi_session.h +++ b/frameworks/js/napi/session/include/napi_session.h @@ -108,7 +108,7 @@ protected: funcName + " forbidden by permission: " + permissionName + "."; break; case INT_CALL_IPC_ERR: - msg = "BusinessError " + std::to_string(COMPONENT_ERR + workResult_) + ": IPC error."; + msg = "IPC error."; break; case INT_UN_SUPPORT: GetSessionFuncParameter(funcName, permissionName);