aboutsummaryrefslogtreecommitdiff
path: root/juick-notifications/src/main/java/com/juick
diff options
context:
space:
mode:
Diffstat (limited to 'juick-notifications/src/main/java/com/juick')
-rw-r--r--juick-notifications/src/main/java/com/juick/components/FirebaseManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-notifications/src/main/java/com/juick/components/FirebaseManager.java b/juick-notifications/src/main/java/com/juick/components/FirebaseManager.java
index f88f3201..f3f97131 100644
--- a/juick-notifications/src/main/java/com/juick/components/FirebaseManager.java
+++ b/juick-notifications/src/main/java/com/juick/components/FirebaseManager.java
@@ -76,6 +76,7 @@ public class FirebaseManager implements NotificationListener {
public void onFailure(Throwable t) {
if (t instanceof FirebaseMessagingException) {
FirebaseMessagingException e = (FirebaseMessagingException) t;
+ logger.warn("FirebaseMessaging error: {}", e.getErrorCode());
if (e.getErrorCode().equals("messaging/invalid-argument")
|| e.getErrorCode().equals("messaging/registration-token-not-registered")
|| e.getErrorCode().equals("messaging/invalid-registration-token")) {