【网络】当后端推送未注册的indication时,进行错误提示

dev_chengFeng
gaoxin 2021-04-27 16:17:58 +08:00
parent 87f3f6da6c
commit ef856fd534
1 changed files with 3 additions and 0 deletions

View File

@ -612,6 +612,9 @@ public class SocketClient
//Debug.LogError("INDICATION_RESPONSE" + msgId);
m_SendMessage(INDICATION_RESPONSE, null, _event.sid);
}
else
{
Debug.LogError("*** 后端推送了未注册的 indication 消息:" + msgId);
}
//处理请求回应消息
if (callbacks.ContainsKey(msgId))