Skip to content

Commit df202c6

Browse files
Make sure default exception handler is used unless overriden
1 parent d94e425 commit df202c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static final Map<String, Object> defaultClientProperties() {
111111
private volatile boolean _running = false;
112112

113113
/** Handler for (uncaught) exceptions that crop up in the {@link MainLoop}. */
114-
private ExceptionHandler _exceptionHandler;
114+
private ExceptionHandler _exceptionHandler = new DefaultExceptionHandler();
115115

116116
/** Object used for blocking main application thread when doing all the necessary
117117
* connection shutdown operations

0 commit comments

Comments
 (0)