- try {\r
- if (null != notification) {\r
- logger.debug(\r
- "DeviceNotification message is received for deviceId : {} , Notification Type(s): {}",\r
- notification.getDeviceDetails().getDeviceId(), notification.getInformTypeList());\r
- deviceEventsMapperNotificationService.processDeviceNotification(notification);\r
- logger.debug("Successfully processed device notification.");\r
- } else {\r
- logger.error("Null device response is received!!!");\r
- }\r
- } catch (Exception e) {\r
- logger.error("Error while processing the notification, Reason: {}", e.getMessage());\r
+ if (null != notification) {\r
+ logger.debug(\r
+ "DeviceNotification message is received for deviceId : {} , Notification Type(s): {}",\r
+ notification.getDeviceDetails().getDeviceId(), notification.getInformTypeList());\r
+ deviceEventsMapperNotificationService.processDeviceNotification(notification);\r
+ logger.debug("Successfully processed device notification.");\r
+ } else {\r
+ logger.error("Null device response is received!!!");\r