guok 2 months ago
parent
commit
70aa2fee45

+ 1 - 1
canon-client/src/main/java/com/boye/canon/client/WebSocketServer.java

@@ -159,7 +159,7 @@ public class WebSocketServer {
 	 */
 	@OnError
 	public void onError(Session session, Throwable error) {
-		logger.error("发生错误");
+		logger.error("发生错误" + error.getMessage());
 		error.printStackTrace();
 	}