Add logging on APNs exception
This commit is contained in:
parent
ed766484d2
commit
40aa685aba
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue