客户端异常处理
This commit is contained in:
parent
d980521a0c
commit
7ef5cfe0cf
@ -60,8 +60,7 @@ public class ExceptionServiceImpl extends BaseSocketService {
|
||||
message.setStart(SocketTypeMessageEnum.MESSAGE_TYPE_START.getType());
|
||||
message.setType(SocketTypeMessageEnum.MESSAGE_TYPE_EXCEPTION.getType());
|
||||
message.setToken(socketClientManager.getToken());
|
||||
JSONObject.toJSONString(successResult(exceptionJSONObject));
|
||||
message.setContent(exceptionJSONObject.toString());
|
||||
message.setContent(JSONObject.toJSONString(successResult(exceptionJSONObject)));
|
||||
socketClientManager.getChannel().writeAndFlush(message);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user