From ec952dc6b9c88f65e32f1aa528a10b5f8045c838 Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Wed, 7 Feb 2018 12:46:41 +0530 Subject: 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 Change-Id: Id21dc0d785fd5296428b00eefbb5f50134d0ba50 Issue-ID: AAI-739 Signed-off-by: PrasadNaidu --- src/main/java/org/onap/aai/event/EventBusConsumer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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()); } } -- cgit 1.2.3-korg