mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 13:46:53 +00:00
remove extra FCM QUOTA_EXCEEDED logging
This commit is contained in:
1 parent
886984861f
commit
376458efa8
1 file changed
-6
@@ -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