Add Logging 82/69582/1
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>
Mon, 1 Oct 2018 12:51:20 +0000 (08:51 -0400)
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>
Mon, 1 Oct 2018 12:51:58 +0000 (08:51 -0400)
Add logging the exception that is thrown

Issue-ID: SO-1097

Change-Id: Iea317f65a139ed078834204f6a4cbbf48ac7a19e
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
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!")
                }