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>
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);
}
}