From 36ccec1afd86337f01d383b51c5f67b71eee1e65 Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Tue, 27 Feb 2018 13:08:43 +0530 Subject: Either log or rethrow this exception Either log or rethrow this exception AbstractLoggingChampGraph.java:L441 Sonar Link : https://sonar.onap.org/project/issues?assignees=PrasadNaidu&id=org.onap.aai%3Achamp&open=AV7ygfKDlaLbmlVXUW53&resolved=false Location : src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java Change-Id: Ia1b329cd8541fb0fb3dcd29729a57ebf39004fb8 Issue-ID: AAI-811 Signed-off-by: PrasadNaidu --- src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java b/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java index a4df273..39eb0dc 100644 --- a/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java +++ b/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java @@ -439,7 +439,7 @@ public abstract class AbstractLoggingChampGraph implements ChampGraph { publisherPool.execute(new EventPublisher(anEvent)); } catch (RejectedExecutionException re) { - logger.error("Event could not be published to the event bus due to: " + re.getMessage()); + logger.error("Event could not be published to the event bus due to: " + re.getMessage(),re); } catch (NullPointerException npe) { logger.error("Can not publish null event to event bus."); -- cgit 1.2.3-korg