diff options
author | rama-huawei <rama.subba.reddy.s@huawei.com> | 2017-10-03 18:42:18 +0530 |
---|---|---|
committer | rama-huawei <rama.subba.reddy.s@huawei.com> | 2017-10-03 18:42:51 +0530 |
commit | 2ebe1f60b4fd98820ddc60aa4ace11473fd263c4 (patch) | |
tree | f0dcaba197060b93e4484e3a6710aa859ccd2483 /adapters | |
parent | 9e5938accc08fd52c3e9d56d4074b851c1e6b6bb (diff) |
Not logging or re-throwing the exceptions
Issue-id: SO-175
Change-Id: Id3751a11b5c47b2d8db12c9e59bd1d3e4db95c8d
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
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(); } } |