mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 14:16:47 +00:00
Add logging on APNs exception
This commit is contained in:
1 parent
ed766484d2
commit
40aa685aba
1 file changed
+2
@@ -141,8 +141,10 @@ public class RetryingApnsClient {
|
||||
}
|
||||
|
||||
} catch (InterruptedException e) {
|
||||
logger.warn("Interrupted exception", e);
|
||||
future.setException(e);
|
||||
} catch (ExecutionException e) {
|
||||
logger.warn("Execution exception", e);
|
||||
if (e.getCause() instanceof ClientNotConnectedException) setDisconnected(e.getCause());
|
||||
else future.setException(e.getCause());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user