diff --git a/frameworks/ets/ani/src/sts_convert_other.cpp b/frameworks/ets/ani/src/sts_convert_other.cpp index e998dacc2bb16853c67dc4bed1f761c22670e4a3..7631b34bd1371bb0dae04b868c99f59e715fded9 100644 --- a/frameworks/ets/ani/src/sts_convert_other.cpp +++ b/frameworks/ets/ani/src/sts_convert_other.cpp @@ -30,7 +30,7 @@ std::shared_ptr UnwrapWantAgent(ani_env *env, ani_object agent) AppExecFwk::UnwrapWantAgent(env, agent, reinterpret_cast(&pWantAgent)); if (pWantAgent == nullptr) { - ANS_LOGI("UnwrapWantAgent wantAgent nullptr"); + ANS_LOGE("UnwrapWantAgent wantAgent nullptr"); return nullptr; } std::shared_ptr wantAgentSp = std::make_shared(*pWantAgent);