mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
fixing log info message issue
This commit is contained in:
parent
5e2a42d798
commit
97ff014b1b
@ -79,7 +79,7 @@ public class AndroidSenseServiceImpl implements AndroidSenseService {
|
||||
deviceIdentifiers);
|
||||
return Response.ok().build();
|
||||
} catch (InvalidDeviceException e) {
|
||||
String msg = "Error occurred while executing command operation to send keywords";
|
||||
String msg = "Invalid Device Identifiers found.";
|
||||
log.error(msg, e);
|
||||
return Response.status(Response.Status.BAD_REQUEST).build();
|
||||
} catch (DeviceAccessAuthorizationException e) {
|
||||
@ -119,7 +119,7 @@ public class AndroidSenseServiceImpl implements AndroidSenseService {
|
||||
deviceIdentifiers);
|
||||
return Response.ok().build();
|
||||
} catch (InvalidDeviceException e) {
|
||||
String msg = "Error occurred while executing command operation to send keywords";
|
||||
String msg = "Invalid Device Identifiers found.";
|
||||
log.error(msg, e);
|
||||
return Response.status(Response.Status.BAD_REQUEST).build();
|
||||
} catch (DeviceAccessAuthorizationException e) {
|
||||
@ -158,7 +158,7 @@ public class AndroidSenseServiceImpl implements AndroidSenseService {
|
||||
deviceIdentifiers);
|
||||
return Response.ok().build();
|
||||
} catch (InvalidDeviceException e) {
|
||||
String msg = "Error occurred while executing command operation to send keywords";
|
||||
String msg = "Invalid Device Identifiers found.";
|
||||
log.error(msg, e);
|
||||
return Response.status(Response.Status.BAD_REQUEST).build();
|
||||
} catch (DeviceAccessAuthorizationException e) {
|
||||
|
||||
@ -80,7 +80,7 @@ public class ArduinoServiceImpl implements ArduinoService {
|
||||
deviceIdentifiers);
|
||||
return Response.status(Response.Status.OK.getStatusCode()).build();
|
||||
} catch (InvalidDeviceException e) {
|
||||
String msg = "Error occurred while executing command operation to send keywords";
|
||||
String msg = "Invalid Device Identifiers found.";
|
||||
log.error(msg, e);
|
||||
return Response.status(Response.Status.BAD_REQUEST).build();
|
||||
} catch (DeviceAccessAuthorizationException e) {
|
||||
|
||||
@ -91,7 +91,7 @@ public class RaspberryPiServiceImpl implements RaspberryPiService {
|
||||
deviceIdentifiers);
|
||||
return Response.ok().build();
|
||||
} catch (InvalidDeviceException e) {
|
||||
String msg = "Error occurred while executing command operation to send keywords";
|
||||
String msg = "Invalid Device Identifiers found.";
|
||||
log.error(msg, e);
|
||||
return Response.status(Response.Status.BAD_REQUEST).build();
|
||||
} catch (DeviceAccessAuthorizationException e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user