From 448ff20baa4da88c4130d6456686861a804ba741 Mon Sep 17 00:00:00 2001 From: Charitha Goonetilleke Date: Mon, 30 Oct 2017 12:09:12 +0530 Subject: [PATCH] Update response message --- .../mgt/jaxrs/service/impl/GeoLocationBasedServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImpl.java index 2543d1a85ef..fc34cfba0da 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/GeoLocationBasedServiceImpl.java @@ -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();