mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Do not show errors not processed by n8n (no-changelog) (#9598)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -134,7 +134,7 @@ export class Code implements INodeType {
|
||||
try {
|
||||
items = (await sandbox.runCodeAllItems()) as INodeExecutionData[];
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail()) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
set(error, 'node', node);
|
||||
throw error;
|
||||
}
|
||||
@@ -162,7 +162,7 @@ export class Code implements INodeType {
|
||||
try {
|
||||
result = await sandbox.runCodeEachItem();
|
||||
} catch (error) {
|
||||
if (!this.continueOnFail()) {
|
||||
if (!this.continueOnFail(error)) {
|
||||
set(error, 'node', node);
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user