mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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, {
|
responseCallback(null, {
|
||||||
data: {
|
data: {
|
||||||
message: 'Workflow did error.',
|
message: 'Workflow did error.',
|
||||||
}
|
},
|
||||||
|
responseCode: 500,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
didSendResponse = true;
|
didSendResponse = true;
|
||||||
|
|
Loading…
Reference in a new issue