服务指令websocket发消息增加错误日志
This commit is contained in:
parent
e4a814cea0
commit
116e08474b
|
|
@ -80,6 +80,7 @@ public class WebSocketMessageController {
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("发送消息失败", e);
|
log.error("发送消息失败", e);
|
||||||
|
e.printStackTrace();
|
||||||
return Result.error("发送失败: " + e.getMessage());
|
return Result.error("发送失败: " + e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue