mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fixing the error in event publishing
This is error occurrs when the event publishing cause and error, it does not print any log.
This commit is contained in:
parent
f551a88d2e
commit
6882a560bc
@ -107,8 +107,8 @@ public class EventReceiverServiceImpl implements EventReceiverService {
|
||||
return Response.status(Response.Status.CREATED).entity(message).build();
|
||||
} else {
|
||||
log.warn("Error occurred while trying to publish the event. This could be due to unavailability " +
|
||||
"of the publishing service. Please make sure that analytics server is running and accessible by " +
|
||||
"this server");
|
||||
"of the publishing service. Please make sure that analytics server is running and accessible " +
|
||||
"by this server");
|
||||
throw new UnexpectedServerErrorException(
|
||||
new ErrorResponse.ErrorResponseBuilder().setCode(503l).setMessage("Error occurred due to " +
|
||||
"unavailability of the publishing service.").build());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user