Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/component_issues?id=org.onap.dcaegen2.platform%3Ainventory-api#resolved=false|severities=CRITICAL|assignees=Snigdha503415
Location:
src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
Line No-104
Change-Id: I6c93a308b0e069cd13d59387efc99340e408a7d2
Issue-ID: DCAEGEN2-209
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
.rel("component").title(component.getComponentId()).build();
component.setComponentLink(componentLink);
} catch (DCAEControllerClientException e) {
- LOG.warn(String.format("%s, %s", e.getMessage(), sco.toString()));
+ LOG.warn(String.format("%s, %s", e.getMessage(), sco.toString()), e);
}
}
} else if (COMPONENT_SOURCE_DATA_BUS_CONTROLLER.equals(sco.getComponentSource().toUpperCase(Locale.ENGLISH))) {