diff options
author | PrasadNaidu <RV00493633@techmahindra.com> | 2018-03-01 12:22:52 +0530 |
---|---|---|
committer | PrasadNaidu <RV00493633@techmahindra.com> | 2018-03-01 12:25:13 +0530 |
commit | 9fc28cff11a4b570618c0f533ce9de6209a5dd0c (patch) | |
tree | 881d5166fd30fc076621a5006e9bbf7291482220 | |
parent | 36ccec1afd86337f01d383b51c5f67b71eee1e65 (diff) |
Either log or rethrow this exception
Either log or rethrow this exception
AbstractLoggingChampGraph.java:L444
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: Ia7db723244de872b0aa7ec6c726e53012949edec
Issue-ID: AAI-825
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
-rw-r--r-- | src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java | 2 |
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 39eb0dc..312a6e4 100644 --- a/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java +++ b/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java @@ -442,7 +442,7 @@ public abstract class AbstractLoggingChampGraph implements ChampGraph { 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."); + logger.error("Can not publish null event to event bus." + npe.getMessage(),npe); } } |