feat: Do not assign all paired items (no-changelog) (#11716)

This commit is contained in:
Michael Kret
2025-02-06 15:46:28 +02:00
committed by GitHub
parent 2eabca5613
commit 4c2546dc78
33 changed files with 55 additions and 236 deletions

View File

@@ -19,7 +19,7 @@ import type { Readable } from 'stream';
import { pipeline } from 'stream/promises';
import { file as tmpFile } from 'tmp-promise';
import { formatPrivateKey, generatePairedItemData } from '@utils/utilities';
import { formatPrivateKey } from '@utils/utilities';
interface ReturnFtpItem {
type: string;
@@ -550,9 +550,7 @@ export class Ftp implements INodeType {
}
} catch (error) {
if (this.continueOnFail()) {
const pairedItem = generatePairedItemData(items.length);
return [[{ json: { error: error.message }, pairedItem }]];
return [[{ json: { error: error.message } }]];
}
throw error;
}