Skip to content

Commit bfb7ad6

Browse files
committed
Merge bug22813 into default
2 parents 01fd29f + 5df4db8 commit bfb7ad6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/com/rabbitmq/client/impl/AMQChannel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ public static IOException wrap(ShutdownSignalException ex) {
124124
}
125125

126126
public static IOException wrap(ShutdownSignalException ex, String message) {
127-
IOException ioe = new IOException(message, ex);
127+
IOException ioe = new IOException(message);
128+
ioe.initCause(ex);
128129
return ioe;
129130
}
130131

0 commit comments

Comments
 (0)