mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Missing pairing info (#7326)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -9,6 +9,7 @@ import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import type { IRecord } from './GenericFunction';
|
||||
import { apiRequest, apiRequestAllItems } from './GenericFunction';
|
||||
import { generatePairedItemData } from '../../utils/utilities';
|
||||
|
||||
export class Stackby implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -282,9 +283,10 @@ export class Stackby implements INodeType {
|
||||
);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
const itemData = generatePairedItemData(items.length);
|
||||
const executionErrorData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ error: error.message }),
|
||||
{ itemData: { item: 0 } },
|
||||
{ itemData },
|
||||
);
|
||||
returnData.push(...executionErrorData);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user