Skip to content

Commit

Permalink
fix: address as NettyChannelException message (#2576)
Browse files Browse the repository at this point in the history
* fix: address as NettyChannelException message

* fix: message
  • Loading branch information
cssxsh committed Mar 16, 2023
1 parent ba03bd4 commit e5ff458
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit e5ff458

Please sign in to comment.