fixed check

This commit is contained in:
Massimiliano Assante 2022-05-09 12:34:25 +02:00
parent e90bdcedb2
commit c3b1c8ab53
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ public class Notifications {
status = Status.NOT_ACCEPTABLE; status = Status.NOT_ACCEPTABLE;
logger.error("Username not found", e); logger.error("Username not found", e);
responseBean.setSuccess(false); responseBean.setSuccess(false);
responseBean.setMessage("Username not found " + userIdToNotify); responseBean.setMessage("Username not found, received: " + userIdToNotify);
return Response.status(status).entity(responseBean).build(); return Response.status(status).entity(responseBean).build();
} }
deliveryResult = notifyWorkspaceEvent(event, nm, username2Notify); deliveryResult = notifyWorkspaceEvent(event, nm, username2Notify);