diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/network/Connection.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/network/Connection.kt
index 06f9b8a8..5f28cf7a 100644
--- a/src/main/kotlin/ru/dbotthepony/kstarbound/network/Connection.kt
+++ b/src/main/kotlin/ru/dbotthepony/kstarbound/network/Connection.kt
@@ -121,8 +121,8 @@ abstract class Connection(val side: ConnectionSide, val type: ConnectionType) :
 
 	open fun bind(channel: Channel) {
 		scope = CoroutineScope(channel.eventLoop().asCoroutineDispatcher() + SupervisorJob() + CoroutineExceptionHandler { coroutineContext, throwable ->
-			disconnect("Uncaught exception in one of connection' coroutines: $throwable")
 			LOGGER.fatal("Uncaught exception in one of $this coroutines", throwable)
+			disconnect("Uncaught exception in one of connection' coroutines: $throwable")
 		})
 
 		channel.config().setOption(ChannelOption.TCP_NODELAY, true)