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 d17572b commit 27ff643Copy full SHA for 27ff643
src/main/kotlin/gg/skytils/skytilsws/client/WSClient.kt
@@ -91,7 +91,9 @@ object WSClient {
91
e.printStackTrace()
92
closeExceptionally(e)
93
} finally {
94
- if (mc.theWorld != null) UChat.chat("${Skytils.failPrefix} §cConnection to SkytilsWS lost")
+ if (mc.theWorld != null) {
95
+ UChat.chat("${Skytils.failPrefix} §cConnection to SkytilsWS lost (reason: ${closeReason.await()})")
96
+ }
97
session = null
98
}
99
0 commit comments