mirror of
				https://github.com/n8n-io/n8n-nodes-starter.git
				synced 2025-10-28 14:12:24 -05:00 
			
		
		
		
	Fix credential usage and error output
This commit is contained in:
		
					parent
					
						
							
								26f52ed166
							
						
					
				
			
			
				commit
				
					
						de7c4dbed1
					
				
			
		
					 2 changed files with 3 additions and 6 deletions
				
			
		|  | @ -61,7 +61,7 @@ export class ExampleNode implements INodeType { | |||
| 						error.context.itemIndex = itemIndex; | ||||
| 						throw error; | ||||
| 					} | ||||
| 					throw new NodeOperationError(this.getNode(), error.message, { | ||||
| 					throw new NodeOperationError(this.getNode(), error, { | ||||
| 						itemIndex, | ||||
| 					}); | ||||
| 				} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue