Return response code 500 in case workflow fails

This commit is contained in:
Jan Oberhauser 2019-08-28 17:25:19 +02:00
parent 4d6e25c28e
commit 5386391189

View file

@ -259,7 +259,8 @@ export function getWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflo
responseCallback(null, {
data: {
message: 'Workflow did error.',
}
},
responseCode: 500,
});
}
didSendResponse = true;