mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
feat: use ES2022 native error chaining to improve error reporting (#4431)
feat: use ES2022 native error chaining
This commit is contained in:
committed by
GitHub
parent
3a9684df9f
commit
1f610b90f6
@@ -277,12 +277,12 @@ export class RoutingNode {
|
||||
};
|
||||
});
|
||||
});
|
||||
} catch (e) {
|
||||
throw new NodeOperationError(
|
||||
this.node,
|
||||
`The rootProperty "${action.properties.property}" could not be found on item.`,
|
||||
{ runIndex, itemIndex },
|
||||
);
|
||||
} catch (error) {
|
||||
throw new NodeOperationError(this.node, error, {
|
||||
runIndex,
|
||||
itemIndex,
|
||||
description: `The rootProperty "${action.properties.property}" could not be found on item.`,
|
||||
});
|
||||
}
|
||||
}
|
||||
if (action.type === 'limit') {
|
||||
|
||||
Reference in New Issue
Block a user