diff --git a/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java b/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java index 0ce9cc6..de41572 100644 --- a/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java +++ b/cloud-central-control-client/src/main/java/com/cm/central/control/client/socket/service/socket/exception/ExceptionServiceImpl.java @@ -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); }