remove extra FCM QUOTA_EXCEEDED logging

This commit is contained in:
Ravi Khadiwala 2025-02-27 16:55:12 -06:00 committed by Jon Chambers
parent 886984861f
commit 376458efa8
1 changed files with 0 additions and 6 deletions

View File

@ -104,12 +104,6 @@ public class FcmSender implements PushNotificationSender {
if (firebaseMessagingException.getMessagingErrorCode() != null) {
errorCode = firebaseMessagingException.getMessagingErrorCode().name();
if (firebaseMessagingException.getMessagingErrorCode() == MessagingErrorCode.QUOTA_EXCEEDED
&& firebaseMessagingException.getHttpResponse() != null) {
logger.info("FCM request failed with quota exceeded; retry-after: {}, response body: {}",
firebaseMessagingException.getHttpResponse().getHeaders().get("retry-after"),
firebaseMessagingException.getHttpResponse().getContent());
}
} else if (firebaseMessagingException.getHttpResponse() != null) {
errorCode = "http" + firebaseMessagingException.getHttpResponse().getStatusCode();
} else {