mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
⚡ Return response code 500 in case workflow fails
This commit is contained in:
parent
4d6e25c28e
commit
5386391189
|
@ -259,7 +259,8 @@ export function getWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflo
|
|||
responseCallback(null, {
|
||||
data: {
|
||||
message: 'Workflow did error.',
|
||||
}
|
||||
},
|
||||
responseCode: 500,
|
||||
});
|
||||
}
|
||||
didSendResponse = true;
|
||||
|
|
Loading…
Reference in a new issue