summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSwapnali Pode <SP00501638@techmahindra.com>2018-02-05 15:09:41 +0530
committerSwapnali Pode <SP00501638@techmahindra.com>2018-02-05 15:10:08 +0530
commit6b01a4e5aed19015998c333d136b9cc8be87fd10 (patch)
tree812722767368162d5ea5f8784376d88373f2fccd /src
parent803f0ba5d90637dbdc02d7f7665051fb8d841c5e (diff)
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 <SP00501638@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/event/EventBusConsumer.java2
1 files changed, 1 insertions, 1 deletions
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) {