服务指令websocket发消息增加错误日志

This commit is contained in:
1378012178@qq.com 2026-01-13 09:55:20 +08:00
parent e4a814cea0
commit 116e08474b
1 changed files with 1 additions and 0 deletions

View File

@ -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());
} }
} }