diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2018-02-07 18:49:26 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2018-02-07 18:49:26 +0530 |
commit | 1460ac688f7e3ee64eafdaed1e9f7a3e94e421a1 (patch) | |
tree | 2670554fe9cb6e438ceb4fa748fcfae9145a6afa /src/main/java | |
parent | 336f88f195d43dfecc28e77c1dfbd9200e610ad0 (diff) |
sonar critical for Exception Handling
log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#resolved=false|severities=CRITICAL|assignees=Soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-592
Change-Id: Ic7cdbe3a8efdfb89becf25265aac670244323bb9
Issue-ID: DMAAP-273
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/service/MMRestService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java index 206e719..ab457e5 100644 --- a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java @@ -590,7 +590,7 @@ public class MMRestService { LOGGER.error(errMsg); } catch (JSONException | IOException e) { - LOGGER.error(errMsg); + LOGGER.error("Error at sendErrResponse method:" + errMsg + "Exception name:" + e.getMessage()); } } |