summaryrefslogtreecommitdiffstats
path: root/appc-sdc-listener
diff options
context:
space:
mode:
authoramshegokar <AS00500801@techmahindra.com>2017-09-18 11:47:25 +0530
committerSkip Wonnell <skip@att.com>2017-09-18 14:05:46 +0000
commitc406e1cc747c50f398e14b6aec112d83fff8b969 (patch)
treea112dca5cabfb078f1d3b6e64fb46c55bd159a62 /appc-sdc-listener
parentfbcf5e1cc1b04bd36a9ea33585eaaa83361b2ea7 (diff)
Sonar Blocker
Sonar Blocker for appc-sdc-listener-bundle Change-Id: Ia7c4d115e2fcbd29eb132791958286b077118431 Issue-ID: APPC-209 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
Diffstat (limited to 'appc-sdc-listener')
-rw-r--r--appc-sdc-listener/appc-sdc-listener-bundle/src/main/java/org/openecomp/appc/sdc/listener/SdcCallback.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-sdc-listener/appc-sdc-listener-bundle/src/main/java/org/openecomp/appc/sdc/listener/SdcCallback.java b/appc-sdc-listener/appc-sdc-listener-bundle/src/main/java/org/openecomp/appc/sdc/listener/SdcCallback.java
index d721e13a0..3d4e3d4c1 100644
--- a/appc-sdc-listener/appc-sdc-listener-bundle/src/main/java/org/openecomp/appc/sdc/listener/SdcCallback.java
+++ b/appc-sdc-listener/appc-sdc-listener-bundle/src/main/java/org/openecomp/appc/sdc/listener/SdcCallback.java
@@ -83,8 +83,8 @@ public class SdcCallback implements INotificationCallback {
BundleContext bctx = FrameworkUtil.getBundle(EventSender.class).getBundleContext();
ServiceReference sref = bctx.getServiceReference(EventSender.class);
eventSender = (EventSender) bctx.getService(sref);
- } catch (Throwable t) {
- logger.error("SdcCallback failed on initializing EventSender", t);
+ } catch (Exception e) {
+ logger.error("SdcCallback failed on initializing EventSender", e);
}
}