mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -1297,6 +1297,15 @@ export default defineComponent({
|
||||
stroke: var(--color-foreground-xdark);
|
||||
}
|
||||
|
||||
&.error {
|
||||
path {
|
||||
fill: var(--node-error-output-color);
|
||||
}
|
||||
rect {
|
||||
stroke: var(--node-error-output-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.small {
|
||||
margin-left: calc((var(--stalk-size) + var(--plus-endpoint-box-size-small) / 2));
|
||||
g {
|
||||
@@ -1427,6 +1436,10 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
.node-output-endpoint-label.node-connection-category-error {
|
||||
color: var(--node-error-output-color);
|
||||
}
|
||||
|
||||
.node-output-endpoint-label {
|
||||
margin-left: calc(var(--endpoint-size-small) + var(--spacing-2xs));
|
||||
|
||||
@@ -1436,9 +1449,9 @@ export default defineComponent({
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
// Switch node allows for dynamic connection labels
|
||||
// Some nodes allow for dynamic connection labels
|
||||
// so we need to make sure the label does not overflow
|
||||
&[data-endpoint-node-type='n8n-nodes-base.switch'] {
|
||||
&[data-endpoint-label-length='medium'] {
|
||||
max-width: calc(var(--stalk-size) - (var(--endpoint-size-small)));
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -1495,7 +1508,8 @@ export default defineComponent({
|
||||
.ep-success--without-label {
|
||||
--stalk-size: var(--stalk-success-size-without-label);
|
||||
}
|
||||
[data-endpoint-node-type='n8n-nodes-base.switch'] {
|
||||
|
||||
[data-endpoint-label-length='medium'] {
|
||||
--stalk-size: var(--stalk-switch-size);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user