You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/03/23 04:49:47 UTC

[GitHub] [rocketmq] Oliverwqcwrw commented on a change in pull request #4022: [ISSUE #4018]Add exception information

Oliverwqcwrw commented on a change in pull request #4022:
URL: https://github.com/apache/rocketmq/pull/4022#discussion_r832844190



##########
File path: broker/src/main/java/org/apache/rocketmq/broker/processor/AdminBrokerProcessor.java
##########
@@ -1607,7 +1607,7 @@ private RemotingCommand resumeCheckHalfMessage(ChannelHandlerContext ctx,
                 response.setRemark("Put message back to RMQ_SYS_TRANS_HALF_TOPIC failed.");
             }
         } catch (Exception e) {
-            log.error("Exception was thrown when putting message back to RMQ_SYS_TRANS_HALF_TOPIC.");
+            log.error("Exception was thrown when putting message back to RMQ_SYS_TRANS_HALF_TOPIC.",e);
             response.setCode(ResponseCode.SYSTEM_ERROR);
             response.setRemark("Exception was thrown when putting message back to RMQ_SYS_TRANS_HALF_TOPIC.");
         } finally {

Review comment:
       good idea




-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org