diff options
author | Smokowski, Steve (ss835w) <ss835w@us.att.com> | 2018-10-01 08:51:20 -0400 |
---|---|---|
committer | Smokowski, Steve (ss835w) <ss835w@us.att.com> | 2018-10-01 08:51:58 -0400 |
commit | a9c36c3f29f6874286f2082680fe07081397949d (patch) | |
tree | c5eb115ef0254b405e6c0955c9d9545f938f5f5d /bpmn/so-bpmn-infrastructure-common/src | |
parent | be96dc7c39eed6142430d8c0486b1140a5c3a921 (diff) |
Add Logging
Add logging the exception that is thrown
Issue-ID: SO-1097
Change-Id: Iea317f65a139ed078834204f6a4cbbf48ac7a19e
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-common/src')
-rw-r--r-- | bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy | 2 |
1 files changed, 2 insertions, 0 deletions
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!") } |