Merge "Add Logging"
authorMarcus Williams <marcus.williams@intel.com>
Mon, 1 Oct 2018 16:50:01 +0000 (16:50 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 1 Oct 2018 16:50:01 +0000 (16:50 +0000)
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateVfModule.groovy

index 0f50ae6..e32d6a8 100644 (file)
@@ -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!")
                }