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 {
|
try {
|
||||||
processForTarget(target, ctx);
|
processForTarget(target, ctx);
|
||||||
} catch (Exception e) {
|
} 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);
|
log.debug("[{}] Notification request processing is finished", requestId);
|
||||||
|
|||||||
@ -619,7 +619,6 @@ public class NotificationApiTest extends AbstractNotificationApiTest {
|
|||||||
Notification notification = getAnotherWsClient().getLastDataUpdate().getUpdate();
|
Notification notification = getAnotherWsClient().getLastDataUpdate().getUpdate();
|
||||||
assertThat(notification.getSubject()).isEqualTo(expectedNotification.getSubject());
|
assertThat(notification.getSubject()).isEqualTo(expectedNotification.getSubject());
|
||||||
assertThat(notification.getText()).isEqualTo(expectedNotification.getText());
|
assertThat(notification.getText()).isEqualTo(expectedNotification.getText());
|
||||||
System.err.println(notification);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user