refactor(Google Sheets Node): Stop reporting to Sentry sheet not found error (no-changelog) (#7617)

https://n8nio.sentry.io/issues/4264383378
This commit is contained in:
Iván Ovejero
2023-11-06 11:36:22 +01:00
committed by GitHub
parent b11c4de039
commit 52f655f3d2
5 changed files with 14 additions and 6 deletions

View File

@@ -418,7 +418,10 @@ export class GoogleSheetsTrigger implements INodeType {
}
const googleSheet = new GoogleSheet(documentId, this);
const sheetName: string = await googleSheet.spreadsheetGetSheetNameById(sheetId);
const sheetName: string = await googleSheet.spreadsheetGetSheetNameById(
this.getNode(),
sheetId,
);
const options = this.getNodeParameter('options') as IDataObject;
const previousRevision = workflowStaticData.lastRevision as number;