diff --git a/interfaces/kits/napi/src/dialog/cm_napi_open_dialog.cpp b/interfaces/kits/napi/src/dialog/cm_napi_open_dialog.cpp index 14042cf..ed436be 100644 --- a/interfaces/kits/napi/src/dialog/cm_napi_open_dialog.cpp +++ b/interfaces/kits/napi/src/dialog/cm_napi_open_dialog.cpp @@ -229,9 +229,9 @@ static void StartUIExtensionAbility(std::shared_ptr OHOS::Ace::ModalUIExtensionConfig uiExtConfig; uiExtConfig.isProhibitBack = false; int32_t sessionId = uiContent->CreateModalUIExtension(want, extensionCallbacks, uiExtConfig); - CM_LOG_I("end CreateModalUIExtension sessionId = %d", sessionId); + CM_LOG_I("end CreateModalUIExtension"); if (sessionId == 0) { - CM_LOG_E("CreateModalUIExtension failed, sessionId is %d", sessionId); + CM_LOG_E("CreateModalUIExtension failed"); ThrowError(asyncContext->env, PARAM_ERROR, "CreateModalUIExtension failed"); } uiExtCallback->SetSessionId(sessionId);