Hello,
I am expecting that, when an unhandled error appear in one block, the following chain should break and the workflow fail altogether
The strange thing is that apparently the block "ends" before the script inside finishes. Note that the script has a "Promise".
An this latter is probably the reason why the workflow didn't break.
Thank you for your feedback.
Here is the "lying" block
Also the insert_codes function
And the failing authentication_codes_insert query: