diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java index 0b1dd9b135..eb497d1e42 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2902Test.java @@ -51,8 +51,8 @@ public class AMQ2902Test extends TestCase { return; } - LOG.error("got event: " + event + ", ex:" + event.getThrowableInformation().getThrowable(), event.getThrowableInformation().getThrowable()); gotExceptionInLog.set(Boolean.TRUE); + LOG.error("got event: " + event + ", ex:" + event.getThrowableInformation().getThrowable(), event.getThrowableInformation().getThrowable()); } if( !"Loaded the Bouncy Castle security provider.".equals(event.getMessage()) ) { if (event.getMDC("activemq.broker") == null) {