From: Smokowski, Steve (ss835w) Date: Mon, 1 Oct 2018 12:51:20 +0000 (-0400) Subject: Add Logging X-Git-Tag: 1.3.1~37^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a9c36c3f29f6874286f2082680fe07081397949d;p=so.git Add Logging Add logging the exception that is thrown Issue-ID: SO-1097 Change-Id: Iea317f65a139ed078834204f6a4cbbf48ac7a19e Signed-off-by: Smokowski, Steve (ss835w) --- diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy index 0f50ae6c27..e32d6a8019 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy @@ -502,8 +502,10 @@ public class DoCreateVfModule extends VfModuleBase { execution.setVariable("rollbackData", rollbackData) }catch(BpmnError b){ + msoLogger.error(b); throw b }catch(Exception e){ + msoLogger.error(e); exceptionUtil.buildAndThrowWorkflowException(execution, 2000, "Internal Error encountered in PreProcess method!") }