aboutsummaryrefslogtreecommitdiffstats
path: root/src/playstore/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-08-30 13:15:00 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-08-30 13:15:00 +0200
commit7917c19d1853c890d08985d29c709f53ec8ae54b (patch)
tree5506586a71201edf400a38d7cab7900a4427539a /src/playstore/java/eu
parent3685c8cd2a705d38d84f72fe363677e7a40d1043 (diff)
broader exception catchers
Diffstat (limited to 'src/playstore/java/eu')
-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();