Minor improvements for internal system notifications

This commit is contained in:
ViacheslavKlimov 2023-08-18 13:40:38 +03:00
parent ba2ded02b1
commit 2a87f2ee7e
2 changed files with 1 additions and 2 deletions

View File

@ -207,7 +207,7 @@ public class DefaultNotificationCenter extends AbstractSubscriptionService imple
try {
processForTarget(target, ctx);
} catch (Exception e) {
log.error("[{}] Failed to process notification request for target {}", requestId, target.getId());
log.error("[{}] Failed to process notification request for target {}", requestId, target.getId(), e);
}
}
log.debug("[{}] Notification request processing is finished", requestId);

View File

@ -619,7 +619,6 @@ public class NotificationApiTest extends AbstractNotificationApiTest {
Notification notification = getAnotherWsClient().getLastDataUpdate().getUpdate();
assertThat(notification.getSubject()).isEqualTo(expectedNotification.getSubject());
assertThat(notification.getText()).isEqualTo(expectedNotification.getText());
System.err.println(notification);
}
@Test