From a9c36c3f29f6874286f2082680fe07081397949d Mon Sep 17 00:00:00 2001 From: "Smokowski, Steve (ss835w)" Date: Mon, 1 Oct 2018 08:51:20 -0400 Subject: Add Logging Add logging the exception that is thrown Issue-ID: SO-1097 Change-Id: Iea317f65a139ed078834204f6a4cbbf48ac7a19e Signed-off-by: Smokowski, Steve (ss835w) --- .../org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bpmn/so-bpmn-infrastructure-common/src/main') 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!") } -- cgit 1.2.3-korg