mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(core): Add optional Error-Output (#7460)
Add an additional optional error output to which all items get sent that could not be processed.  Github issue / Community forum post (link here to close automatically): https://community.n8n.io/t/error-connector-for-nodes/3094 https://community.n8n.io/t/error-handling-at-node-level-detect-node-execution-status/26791 --------- Co-authored-by: OlegIvaniv <me@olegivaniv.com>
This commit is contained in:
@@ -649,6 +649,7 @@ export const workflowHelpers = defineComponent({
|
||||
'credentials',
|
||||
'disabled',
|
||||
'issues',
|
||||
'onError',
|
||||
'notes',
|
||||
'parameters',
|
||||
'status',
|
||||
@@ -725,14 +726,16 @@ export const workflowHelpers = defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
// Save the disabled property and continueOnFail only when is set
|
||||
// Save the disabled property, continueOnFail and onError only when is set
|
||||
if (node.disabled === true) {
|
||||
nodeData.disabled = true;
|
||||
}
|
||||
if (node.continueOnFail === true) {
|
||||
nodeData.continueOnFail = true;
|
||||
}
|
||||
|
||||
if (node.onError !== 'stopWorkflow') {
|
||||
nodeData.onError = node.onError;
|
||||
}
|
||||
// Save the notes only if when they contain data
|
||||
if (![undefined, ''].includes(node.notes)) {
|
||||
nodeData.notes = node.notes;
|
||||
|
||||
Reference in New Issue
Block a user