Skip to content

Commit ee00221

Browse files
author
Pradeep Kunchala
committed
Improve exception context in BrokerService preDestroy
1 parent 0fa8083 commit ee00221

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ private void preDestroy () {
788788
try {
789789
stop();
790790
} catch (Exception ex) {
791-
throw new RuntimeException();
791+
throw new RuntimeException("Exception during broker preDestroy cleanup: " + getBrokerName(), ex);
792792
}
793793
}
794794

0 commit comments

Comments
 (0)