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>
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 {