summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrasadNaidu <RV00493633@techmahindra.com>2018-02-07 12:46:41 +0530
committerPrasadNaidu <RV00493633@techmahindra.com>2018-02-07 12:49:35 +0530
commitec952dc6b9c88f65e32f1aa528a10b5f8045c838 (patch)
tree317a7c3385e1e804df63d4600c853d085495c6db /src
parent6b01a4e5aed19015998c333d136b9cc8be87fd10 (diff)
Either log or rethrow this exception
Either log or rethrow this exception EventBusConsumer.java:L91 Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.router-core%3Arouter-core#rules=squid%3AS1166 Location : src/main/java/org/onap/aai/event/EventBusConsumer.javaChange-Id: I1875c81a55373539a8b6583c125025a747e78f3e Issue-ID: AAI-739 Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com> Change-Id: Id21dc0d785fd5296428b00eefbb5f50134d0ba50 Issue-ID: AAI-739 Signed-off-by: PrasadNaidu <RV00493633@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 fb937d3..1faca7a 100644
--- a/src/main/java/org/onap/aai/event/EventBusConsumer.java
+++ b/src/main/java/org/onap/aai/event/EventBusConsumer.java
@@ -89,7 +89,7 @@ public class EventBusConsumer extends ScheduledPollConsumer {
consumer = consumerBuilder.build();
} catch (MalformedURLException | GeneralSecurityException e) {
- logger.error(RouterCoreMsgs.EVENT_CONSUMER_CREATION_EXCEPTION, e.getLocalizedMessage());
+ logger.error(RouterCoreMsgs.EVENT_CONSUMER_CREATION_EXCEPTION, e, e.getLocalizedMessage());
}
}