Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1990#discussion_r179284174
--- Diff:
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
---
@@ -1539,6 +1540,8 @@ public void end(final Xid xid, final int flags)
throws XAException {
startCall();
try {
sessionContext.xaEnd(xid, flags);
+ } catch (ActiveMQNotConnectedException ex) {
+
ActiveMQClientLogger.LOGGER.connectionClosedWarn(ex.getType(), ex.getMessage());
--- End diff --
can you at least keep a logger.debug(ex.getMessage(), ex) here?
This way if a developer ever needs to debug on why.. it would give the
developer more information?
---