mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Update response message
This commit is contained in:
parent
1eb2e54ae8
commit
448ff20baa
@ -79,7 +79,7 @@ public class GeoLocationBasedServiceImpl implements GeoLocationBasedService {
|
||||
try {
|
||||
if (!DeviceManagerUtil.isPublishOperationResponseEnabled()) {
|
||||
return Response.status(Response.Status.BAD_REQUEST.getStatusCode())
|
||||
.entity("Operation publishing does not exists").build();
|
||||
.entity("Unable to retrive Geo Device stats. Geo Data publishing does not enabled.").build();
|
||||
}
|
||||
} catch (DeviceManagementException e) {
|
||||
return Response.status(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode()).entity(e.getMessage()).build();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user