commit | e2e2bcd054957077817b4e9f441ca069ad452d2d | [log] [tgz] |
---|---|---|
author | Arindam Mondal <arind.mondal@samsung.com> | Wed Jun 05 17:00:03 2019 +0900 |
committer | arindamm <arind.mondal@samsung.com> | Thu Aug 08 14:38:20 2019 +0900 |
tree | 8f2bbed740d7b9922da08c010fe8d425afb2d6f4 | |
parent | e01dcd3ea03b02294d4b0f3cd46e825499ec4d49 [diff] |
Sonar fix log exception Add logger Issue-ID: DMAAP-1220 Change-Id: I4ef453462e121fdd1b971b679118796b9cf33feb Signed-off-by: arindamm <arind.mondal@samsung.com>
diff --git a/src/main/java/org/onap/dmaap/dbcapi/service/AafTopicSetupService.java b/src/main/java/org/onap/dmaap/dbcapi/service/AafTopicSetupService.java index 031f594..7608557 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/service/AafTopicSetupService.java +++ b/src/main/java/org/onap/dmaap/dbcapi/service/AafTopicSetupService.java
@@ -72,6 +72,7 @@ } } catch (TopicSetupException ex) { + logger.error("Exception in topic setup {}", ex.getMessage()); return new ApiError(ex.getCode(), ex.getMessage(), ex.getFields()); } return okStatus();