n8n-nodes-starter/nodes
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
..
ExampleNode Fix: continueOnFail error management 2025-08-22 12:36:16 +08:00
HttpBin Small tweaks to README and updated icon example (#76) 2025-05-30 10:34:51 +01:00