mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-19 20:38:04 +01:00
remove extra FCM QUOTA_EXCEEDED logging
This commit is contained in:
committed by
Jon Chambers
parent
886984861f
commit
376458efa8
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user