aboutsummaryrefslogtreecommitdiffstats
path: root/src/playstore/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/playstore/java')
-rw-r--r--src/playstore/java/eu/siacs/conversations/services/PushManagementService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java b/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java
index 3fdaf832..ae86f8c2 100644
--- a/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java
+++ b/src/playstore/java/eu/siacs/conversations/services/PushManagementService.java
@@ -92,7 +92,8 @@ public class PushManagementService {
try {
String token = instanceID.getToken(mXmppConnectionService.getString(R.string.gcm_defaultSenderId), GoogleCloudMessaging.INSTANCE_ID_SCOPE, null);
instanceTokenRetrieved.onGcmInstanceTokenRetrieved(token);
- } catch (IOException e) {
+ } catch (Exception e) {
+ Log.d(Config.LOGTAG,"unable to get push token");
}
}
}).start();