We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213d54b commit 856a9dcCopy full SHA for 856a9dc
consumer/src/main/java/com/yedu/consumer/consumer/AbstractConsumer.java
@@ -51,7 +51,8 @@ public void accept(Message message) {
51
52
if (!enable && !testerPhoneNumbers.contains(notification.getReceiverPhoneNumber())) {
53
notification.fail();
54
- throw new IllegalStateException("메시지 처리가 비활성화되어 있습니다.");
+ log.error("메시지 처리가 비활성화되어 있습니다. notification id :{}", notification.getId());
55
+ return;
56
}
57
58
try {
0 commit comments