rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From duhengfore...@apache.org
Subject [rocketmq] branch develop updated: Improve exception handle of transaction check service (#1783)
Date Mon, 24 Feb 2020 01:01:47 GMT
This is an automated email from the ASF dual-hosted git repository.

duhengforever pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new d15234c  Improve exception handle of transaction check service (#1783)
d15234c is described below

commit d15234c683216db9e0f77578d4adffd3e42406eb
Author: huangli <areyouok@gmail.com>
AuthorDate: Mon Feb 24 09:01:31 2020 +0800

    Improve exception handle of transaction check service (#1783)
---
 .../broker/transaction/queue/TransactionalMessageServiceImpl.java      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java
b/broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java
index 71b575e..f7ba2e3 100644
--- a/broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java
+++ b/broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageServiceImpl.java
@@ -240,8 +240,7 @@ public class TransactionalMessageServiceImpl implements TransactionalMessageServ
                     transactionalMessageBridge.updateConsumeOffset(opQueue, newOpOffset);
                 }
             }
-        } catch (Exception e) {
-            e.printStackTrace();
+        } catch (Throwable e) {
             log.error("Check error", e);
         }
 


Mime
View raw message