From 6b01a4e5aed19015998c333d136b9cc8be87fd10 Mon Sep 17 00:00:00 2001 From: Swapnali Pode Date: Mon, 5 Feb 2018 15:09:41 +0530 Subject: Either log or rethrow this exception Either log or rethrow this exception EventBusConsumer.java:L163 Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.router-core%3Arouter-core#resolved=false|severities=CRITICAL Location: src/main/java/org/onap/aai/event/EventBusConsumer.java Change-Id: Iecc18afc17a0a40d2cbaf853ca6209a67d6f871c Issue-ID: AAI-728 Signed-off-by: Swapnali Pode --- src/main/java/org/onap/aai/event/EventBusConsumer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/onap/aai/event/EventBusConsumer.java b/src/main/java/org/onap/aai/event/EventBusConsumer.java index 5e54d3b..fb937d3 100644 --- a/src/main/java/org/onap/aai/event/EventBusConsumer.java +++ b/src/main/java/org/onap/aai/event/EventBusConsumer.java @@ -161,7 +161,7 @@ public class EventBusConsumer extends ScheduledPollConsumer { } } catch (Exception e) { - logger.error(RouterCoreMsgs.EVENT_PROCESSING_EXCEPTION, e.getLocalizedMessage()); + logger.error(RouterCoreMsgs.EVENT_PROCESSING_EXCEPTION,e,e.getLocalizedMessage()); } finally { // log exception if an exception occurred and was not handled if (message.getException() != null) { -- cgit 1.2.3-korg