Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/component_issues?id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr#resolved=false|assignees=dthakur
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-292
Change-Id: I27845ea69afee33f028d4cd5dc1da807122a14bf
Issue-ID: DMAAP-287
Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
} catch (ZkInterruptedException e) {
log.error("Curator client close interrupted: " + e);
} catch (IOException e) {
- log.warn("Error while closing curator PathChildrenCache for KafkaConsumerCache" + e.getMessage());
+ log.error("Error while closing curator PathChildrenCache for KafkaConsumerCache" + e);
}
curatorConsumerCache = null;