summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-01-23 09:13:52 +0530
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-01-23 09:14:25 +0530
commit8753d4434d8fd5e550977c7bf1a2f70f3954d1ba (patch)
tree9d8f0e1e01f45276c9a7e82e40cfe2221921312b /src
parent9cd3525187517fac8af5e494009f1c1ef0d6fa16 (diff)
sonar critical for Exception handling
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dcaegen2.platform%3Ainventory-api#severities=CRITICAL|assignees=Snigdha503415 Location: src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java Line No-118 Change-Id: I98ebe37fa928cb9fdbbaf841987902f9fe3fb693 Issue-ID: DCAEGEN2-216 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
index b418ee8..d311303 100644
--- a/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
+++ b/src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
@@ -116,7 +116,7 @@ public class DcaeServicesApiServiceImpl extends DcaeServicesApiService {
LOG.warn(String.format("Feed/topic does not exist: %s", sco.getComponentId()));
}
} catch (DatabusControllerClientException e) {
- LOG.warn(String.format("%s, %s", e.getMessage(), sco.toString()));
+ LOG.warn(String.format("%s, %s", e.getMessage(), sco.toString()), e);
}
}
} else {