diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2017-10-04 00:12:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-04 00:12:05 +0000 |
commit | df05f6b59b92c7c18b01dce0f3187e6c01708f42 (patch) | |
tree | 3b85d4d4e159ea49a71d580c6a83a8768feea20d /adapters | |
parent | c605cefe85d172971f52a6f01b97eaa544cda549 (diff) | |
parent | 2ebe1f60b4fd98820ddc60aa4ace11473fd263c4 (diff) |
Merge "Not logging or re-throwing the exceptions"
Diffstat (limited to 'adapters')
-rw-r--r-- | adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java index 684933f3a9..52286fd3ac 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java @@ -82,6 +82,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.createNs(nsInput); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -107,6 +108,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.deleteNs(nsOperationKey, nsInstanceId); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -135,6 +137,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.getNsProgress(nsOperationKey, jobId); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -161,6 +164,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.instantiateNs(nsInstanceId, nsInput); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } @@ -188,6 +192,7 @@ public class VfcAdapterRest { RestfulResponse rsp = driverMgr.terminateNs(nsOperationKey, nsInstanceId); return buildResponse(rsp); } catch(ApplicationException e) { + LOGGER.debug("ApplicationException: ", e); return e.buildErrorResponse(); } } |