From 3c2f786de29b6d2dcab3a639d39656a0d5af97b8 Mon Sep 17 00:00:00 2001 From: devxb Date: Wed, 31 Jan 2024 01:14:28 +0900 Subject: [PATCH] release: 0.3.1 --- src/main/java/net/teumteum/alert/infra/FcmAlertPublisher.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/teumteum/alert/infra/FcmAlertPublisher.java b/src/main/java/net/teumteum/alert/infra/FcmAlertPublisher.java index c7bd902..6853283 100644 --- a/src/main/java/net/teumteum/alert/infra/FcmAlertPublisher.java +++ b/src/main/java/net/teumteum/alert/infra/FcmAlertPublisher.java @@ -42,7 +42,8 @@ private void publishWithRetry(int currentRetryCount, Message message, @Nullable if (MAX_RETRY_COUNT == currentRetryCount) { return; } - if (errorCode == ErrorCode.INTERNAL + if (errorCode == null + || errorCode == ErrorCode.INTERNAL || errorCode == ErrorCode.CONFLICT || errorCode == ErrorCode.UNKNOWN || errorCode == ErrorCode.DATA_LOSS) {