Finish migration to kotlinx-io

This commit is contained in:
Alexander Nozik 2023-12-13 14:50:56 +03:00
parent fb03fcc982
commit 606c2cf5b1

View File

@ -52,7 +52,7 @@ public class ChannelPort(
if (num < 0) cancel("The input channel is exhausted") if (num < 0) cancel("The input channel is exhausted")
} catch (ex: Exception) { } catch (ex: Exception) {
if(ex is AsynchronousCloseException){ if(ex is AsynchronousCloseException){
logger.info { "Channel closed" } logger.info { "Channel $channel closed" }
} else { } else {
logger.error(ex) { "Channel read error, retrying in 1 second" } logger.error(ex) { "Channel read error, retrying in 1 second" }
delay(1000) delay(1000)