mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-14 23:20:49 +08:00
fix: address as NettyChannelException message (#2576)
* fix: address as NettyChannelException message * fix: message
This commit is contained in:
parent
ba03bd472c
commit
e5ff458a5d
@ -113,7 +113,7 @@ internal open class NettyNetworkHandler(
|
||||
eventLoopGroup.shutdownGracefully()
|
||||
contextResult.cancel()
|
||||
}.getOrElse { error ->
|
||||
throw NettyChannelException(cause = error)
|
||||
throw NettyChannelException(cause = error, message = "Failed to connect $address")
|
||||
}
|
||||
|
||||
contextResult.complete(future.channel())
|
||||
|
Loading…
Reference in New Issue
Block a user