jbertram commented on code in PR #5934: URL: https://github.com/apache/activemq-artemis/pull/5934#discussion_r2369405644
########## artemis-journal/src/main/java/org/apache/activemq/artemis/core/journal/impl/JournalImpl.java: ########## @@ -2858,16 +2858,19 @@ public synchronized void start() { } @Override - public synchronized void stop() throws Exception { + public synchronized void stop() { if (state == JournalState.STOPPED) { return; } - flush(); + try { + flush(); + } catch (Exception e) { + logger.warn(e.getMessage(), e); Review Comment: Warning messages like this should use a logger with a corresponding code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact