summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajay priyadarshi <ajay.priyadarshi@ril.com>2018-02-23 12:08:22 +0530
committerajay priyadarshi <ajay.priyadarshi@ril.com>2018-02-23 12:08:22 +0530
commit46f3ea27f716ac93d7e8c3cbb08b68271b8873fa (patch)
tree30a49352772468641c326bb0b1e211e0207cad51
parent79818e83e1fceb1a04f2cfa77a8bf32dc160f65f (diff)
sonar fix: Exception handling MsbServiceRegister
sfc/resources/MsbServiceRegister.java file name: MsbServiceRegister.java Change-Id: I265114078a7e99b1b2edc3d39b622bc4a5eff7c6 Issue-ID: VFC-773 Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
-rw-r--r--zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/MsbServiceRegister.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/MsbServiceRegister.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/MsbServiceRegister.java
index 8be8bd0..ccdf79b 100644
--- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/MsbServiceRegister.java
+++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/resources/MsbServiceRegister.java
@@ -51,8 +51,8 @@ public class MsbServiceRegister implements Runnable {
flag = true;
break;
} catch (Exception e) {
- LOGGER.info("Register Msb failed");
- e.printStackTrace();
+ LOGGER.error("Register Msb failed",e);
+ //e.printStackTrace();
threadSleep(30000);
}
}