From 606c2cf5b14401648eef6d36a44711d1ddbec8bc Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Wed, 13 Dec 2023 14:50:56 +0300 Subject: [PATCH] Finish migration to kotlinx-io --- .../jvmMain/kotlin/space/kscience/controls/ports/ChannelPort.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls-core/src/jvmMain/kotlin/space/kscience/controls/ports/ChannelPort.kt b/controls-core/src/jvmMain/kotlin/space/kscience/controls/ports/ChannelPort.kt index 1e187b6..ec50d47 100644 --- a/controls-core/src/jvmMain/kotlin/space/kscience/controls/ports/ChannelPort.kt +++ b/controls-core/src/jvmMain/kotlin/space/kscience/controls/ports/ChannelPort.kt @@ -52,7 +52,7 @@ public class ChannelPort( if (num < 0) cancel("The input channel is exhausted") } catch (ex: Exception) { if(ex is AsynchronousCloseException){ - logger.info { "Channel closed" } + logger.info { "Channel $channel closed" } } else { logger.error(ex) { "Channel read error, retrying in 1 second" } delay(1000)