diff options
Diffstat (limited to 'PolicyEngineAPI/src/main/java/org/openecomp/policy/std/AutoClientEnd.java')
-rw-r--r-- | PolicyEngineAPI/src/main/java/org/openecomp/policy/std/AutoClientEnd.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/PolicyEngineAPI/src/main/java/org/openecomp/policy/std/AutoClientEnd.java b/PolicyEngineAPI/src/main/java/org/openecomp/policy/std/AutoClientEnd.java index d7ec9ac43..06a2e471e 100644 --- a/PolicyEngineAPI/src/main/java/org/openecomp/policy/std/AutoClientEnd.java +++ b/PolicyEngineAPI/src/main/java/org/openecomp/policy/std/AutoClientEnd.java @@ -165,12 +165,16 @@ public class AutoClientEnd { try{ handler.notificationReceived(notification); }catch (Exception e){ - logger.error("Error in Clients Handler Object : " + e.getMessage()); + logger.error("Error in Clients Handler Object : ", e); } } else if (scheme.equals(NotificationScheme.AUTO_NOTIFICATIONS)) { PDPNotification newNotification = MatchStore.checkMatch(notification); if (newNotification.getNotificationType() != null) { - handler.notificationReceived(newNotification); + try{ + handler.notificationReceived(newNotification); + }catch (Exception e){ + logger.error("Error in Clients Handler Object : ", e); + } } } } |