Skip to content

Commit 1eeb457

Browse files
fuyou001RongtongJin
authored andcommitted
[ISSUE #1918] Catch throwable in PullMessageService thread run method (#9278)
1 parent 1134417 commit 1eeb457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullMessageService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void run() {
135135
this.pullMessage((PullRequest) messageRequest);
136136
}
137137
} catch (InterruptedException ignored) {
138-
} catch (Exception e) {
138+
} catch (Throwable e) {
139139
logger.error("Pull Message Service Run Method exception", e);
140140
}
141141
}

0 commit comments

Comments
 (0)