Skip to content

Commit 856a9dc

Browse files
committed
fix : error
1 parent 213d54b commit 856a9dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

consumer/src/main/java/com/yedu/consumer/consumer/AbstractConsumer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public void accept(Message message) {
5151

5252
if (!enable && !testerPhoneNumbers.contains(notification.getReceiverPhoneNumber())) {
5353
notification.fail();
54-
throw new IllegalStateException("메시지 처리가 비활성화되어 있습니다.");
54+
log.error("메시지 처리가 비활성화되어 있습니다. notification id :{}", notification.getId());
55+
return;
5556
}
5657

5758
try {

0 commit comments

Comments
 (0)