http://jira.mfd.msk:8088/browse/CLS-550 улучшил лог.
This commit is contained in:
parent
4951559891
commit
83ff343c92
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ public class NotificationService extends QueueConsumer implements InitializingBe
|
|||
private void notificationUpdateRequest(BaseRequest<NotificationUpdateRequest> notificationUpdateRequestBaseRequest) {
|
||||
NotificationUpdateRequest request = notificationUpdateRequestBaseRequest.getRequestPayload();
|
||||
Long id = request == null ? null : request.getId();
|
||||
log.info("Starting notificationUpdateRequest {} processing by id: {} ...", notificationUpdateRequestBaseRequest.getId(), id);
|
||||
log.info("Starting notificationUpdateRequest {} processing by id: {} from user {}", notificationUpdateRequestBaseRequest.getId(), id, notificationUpdateRequestBaseRequest.getUserId());
|
||||
Notification notification = notificationMap.getSingleObjectByID(id);
|
||||
if (notification == null) {
|
||||
throw new NullPointerException("Notification by id:{" + id + "} is null!");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue