summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasadNaidu <RV00493633@techmahindra.com>2018-02-27 13:08:43 +0530
committerJames Forsyth <jf2512@att.com>2018-02-27 15:08:50 +0000
commit36ccec1afd86337f01d383b51c5f67b71eee1e65 (patch)
tree2c694f197d47dd267e8636e8e6eb89e082e22dbb
parentdb622f0997fa045fd48256997223d084b5066014 (diff)
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 <RV00493633@techmahindra.com>
-rw-r--r--src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java2
1 files changed, 1 insertions, 1 deletions
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.");