diff options
author | PrasadNaidu <RV00493633@techmahindra.com> | 2018-02-07 12:46:41 +0530 |
---|---|---|
committer | PrasadNaidu <RV00493633@techmahindra.com> | 2018-02-07 12:49:35 +0530 |
commit | ec952dc6b9c88f65e32f1aa528a10b5f8045c838 (patch) | |
tree | 317a7c3385e1e804df63d4600c853d085495c6db /src/main/java | |
parent | 6b01a4e5aed19015998c333d136b9cc8be87fd10 (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/main/java')
-rw-r--r-- | src/main/java/org/onap/aai/event/EventBusConsumer.java | 2 |
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()); } } |