mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +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:
@@ -106,6 +106,7 @@
|
||||
@valueChanged="valueChanged"
|
||||
@execute="onNodeExecute"
|
||||
@stopExecution="onStopExecution"
|
||||
@redrawRequired="redrawRequired = true"
|
||||
@activate="onWorkflowActivate"
|
||||
/>
|
||||
<a
|
||||
@@ -199,6 +200,7 @@ export default defineComponent({
|
||||
data() {
|
||||
return {
|
||||
settingsEventBus: createEventBus(),
|
||||
redrawRequired: false,
|
||||
runInputIndex: -1,
|
||||
runOutputIndex: -1,
|
||||
isLinkingEnabled: true,
|
||||
@@ -633,7 +635,8 @@ export default defineComponent({
|
||||
|
||||
if (
|
||||
typeof this.activeNodeType?.outputs === 'string' ||
|
||||
typeof this.activeNodeType?.inputs === 'string'
|
||||
typeof this.activeNodeType?.inputs === 'string' ||
|
||||
this.redrawRequired
|
||||
) {
|
||||
// TODO: We should keep track of if it actually changed and only do if required
|
||||
// Whenever a node with custom inputs and outputs gets closed redraw it in case
|
||||
|
||||
Reference in New Issue
Block a user