Minor improvements for internal system notifications
This commit is contained in:
parent
ba2ded02b1
commit
2a87f2ee7e
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user