mirror of
https://gitee.com/openharmony/msdp_device_status
synced 2024-11-23 23:50:23 +00:00
Change the log level to Waring when the listener is empty
Signed-off-by: mayunteng <mayunteng@huawei.com>
This commit is contained in:
parent
adc93fed0d
commit
5cb31a565f
@ -58,7 +58,7 @@ int32_t CooperateEventManager::OnCooperateMessage(CooperationMessage msg, const
|
||||
CALL_DEBUG_ENTER;
|
||||
std::lock_guard<std::mutex> guard(lock_);
|
||||
if (remoteCooperateCallbacks_.empty()) {
|
||||
FI_HILOGW("No listener, send cooperate message failed");
|
||||
FI_HILOGW("The current listener is empty, unable to invoke the listening interface");
|
||||
return RET_ERR;
|
||||
}
|
||||
for (auto it = remoteCooperateCallbacks_.begin(); it != remoteCooperateCallbacks_.end(); ++it) {
|
||||
|
Loading…
Reference in New Issue
Block a user