Either log or rethrow this exception 11/30611/1
authorPrasadNaidu <RV00493633@techmahindra.com>
Wed, 7 Feb 2018 07:16:41 +0000 (12:46 +0530)
committerPrasadNaidu <RV00493633@techmahindra.com>
Wed, 7 Feb 2018 07:19:35 +0000 (12:49 +0530)
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>
src/main/java/org/onap/aai/event/EventBusConsumer.java

index fb937d3..1faca7a 100644 (file)
@@ -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());
     }
   }