Skip to content

Commit 3c148fa

Browse files
Added exception printing.
1 parent 9e8953b commit 3c148fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/NoMathExpectation/chatExchange/neoForged/ExchangeServer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ class ExchangeServer(
6565
}
6666

6767
receiveRoutine(receiveChannel)
68+
}.onFailure {
69+
logger.info("Exception during handling connection.", it)
6870
}
6971
withContext(NonCancellable) {
7072
channelMutex.withLock {

0 commit comments

Comments
 (0)