mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat: Add item information to more node errors (#3681)
* ⚡ Add `itemIndex` to node-thrown errors * ⚡ Add some missing item indexes
This commit is contained in:
@@ -109,7 +109,7 @@ export class ExecuteCommand implements INodeType {
|
||||
} = await execPromise(command);
|
||||
|
||||
if (error !== undefined) {
|
||||
throw new NodeOperationError(this.getNode(), error.message);
|
||||
throw new NodeOperationError(this.getNode(), error.message, { itemIndex });
|
||||
}
|
||||
|
||||
returnItems.push(
|
||||
|
||||
Reference in New Issue
Block a user