This is an automated email from the ASF dual-hosted git repository. elecharny pushed a commit to branch 2.0.X in repository https://gitbox.apache.org/repos/asf/mina.git
The following commit(s) were added to refs/heads/2.0.X by this push: new f0c614f Backported JonV patch f0c614f is described below commit f0c614f6e17c6b146fd48e1df6f034abfa341010 Author: emmanuel lecharny <elecha...@apache.org> AuthorDate: Tue Feb 8 02:37:01 2022 +0100 Backported JonV patch --- .../java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java b/mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java index b3def37..54691c5 100644 --- a/mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java +++ b/mina-core/src/main/java/org/apache/mina/transport/socket/nio/NioSocketAcceptor.java @@ -269,7 +269,7 @@ implements SocketAcceptor { // message String newMessage = "Error while binding on " + localAddress + "\n" + "original message : " + ioe.getMessage(); - Exception e = new IOException(newMessage); + Exception e = new IOException(newMessage, ioe); e.initCause(ioe.getCause()); // And close the channel