We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9537d6 commit a2eeaaaCopy full SHA for a2eeaaa
src/main/java/org/java_websocket/server/WebSocketServer.java
@@ -1084,12 +1084,12 @@ public void run() {
1084
ws.close();
1085
}
1086
log.error("Got fatal error in worker thread" + getName());
1087
- Exception exception = new Exception(e.getMessage());
+ Exception exception = new Exception(e);
1088
handleFatal(ws, exception);
1089
} catch (Throwable e) {
1090
log.error("Uncaught exception in thread {}: {}", getName(), e);
1091
if (ws != null) {
1092
1093
onWebsocketError(ws, exception);
1094
1095
0 commit comments