diff --git a/powerauth-push-server/src/main/java/io/getlime/push/service/PushMessageSenderService.java b/powerauth-push-server/src/main/java/io/getlime/push/service/PushMessageSenderService.java index 3b93e5319..bb3cca164 100644 --- a/powerauth-push-server/src/main/java/io/getlime/push/service/PushMessageSenderService.java +++ b/powerauth-push-server/src/main/java/io/getlime/push/service/PushMessageSenderService.java @@ -182,8 +182,8 @@ private PushSendingCallback createPushSendingCallback(final Mode mode, final Pus } } platformResult.setTotal(platformResult.getTotal() + 1); - } catch (Throwable t) { - logger.error("System error when sending notification: {}", t.getMessage(), t); + } catch (Exception e) { + logger.error("System error when sending notification: {}", e.getMessage(), e); } finally { arriveAndDeregisterPhaserForMode(phaser, mode); }