Commit graph

15 commits

Author SHA1 Message Date
Patrick R
14bf7f8604
Fix: continueOnFail error management
I observed some weird behaviors when testing a custom node which was used with `continueOnFail()`, and would return the items, as is done in this example.

## Issues:

- Records are being pushed in the `items` array within a loop over them, this essentially causes an infinite loop. I fixed that loop by adding `itemCount` 
- Upon fixing the infinite loop, I noticed both `success` and `error` branches of the node would activate, that was because the pushed item had an `error` field (which triggers the error branch), but the original item was still present without an error field (which trigger the success branch)

There may be better fixes to this, but this approach worked for me.
2025-08-22 12:36:16 +08:00
Jon
3624c920ed
Update to support new features (#70) 2025-05-13 14:26:01 +01:00
कारतोफ्फेलस्क्रिप्ट™
b2ba2d1cf1
Update ExampleNode.node.ts 2024-10-21 17:00:23 +02:00
Jan Oberhauser
0466fdb2df Fix build issue 2023-08-14 10:22:59 +02:00
Omar Ajoue
f6d9d17b43 Update package-lock.json and add pairedItem 2022-07-12 10:25:39 +02:00
Iván Ovejero
b4cce8d55c 🔀 Merge master 2022-06-30 17:09:31 +02:00
Omar Ajoue
de7c4dbed1 Fix credential usage and error output 2022-06-29 16:27:55 +02:00
Omar Ajoue
26f52ed166 Add clarifying comment 2022-06-29 14:55:31 +02:00
Omar Ajoue
ba83500857 Add correct error output with context 2022-06-29 14:54:53 +02:00
Omar Ajoue
abe033d7a1 Handle errors from example node and clarified options about credentials and properties 2022-06-29 14:12:28 +02:00
Iván Ovejero
82b2552d10 General improvements
Improve explanatory comments, correct typings, make param names consistent, and simplify execute block.
2022-06-28 15:27:25 +02:00
Cornelius Suermann
b586ec812f
✏️ fix typo 2022-06-27 15:09:59 +02:00
Iván Ovejero
f2731eaa55 🎨 Apply Prettier 2022-06-27 11:45:32 +02:00
Jan Oberhauser
61dca83eb0 👕 Fix lint issue 2022-01-17 18:29:15 +01:00
Jan Oberhauser
d3a225f94e 🎉 Initial commit 2019-10-03 08:53:03 +02:00