mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
refactor(Airtable Node): Prevent reporting to Sentry failure to find table (no-changelog) (#7521)
https://n8nio.sentry.io/issues/4356342982/?project=4503924908883968&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=8
This commit is contained in:
parent
d885daa6a1
commit
a277807404
|
@ -118,7 +118,9 @@ export async function viewSearch(
|
|||
});
|
||||
|
||||
if (!tableData) {
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!');
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!', {
|
||||
severity: 'warning',
|
||||
});
|
||||
}
|
||||
|
||||
if (filter) {
|
||||
|
|
|
@ -20,7 +20,9 @@ export async function getColumns(this: ILoadOptionsFunctions): Promise<INodeProp
|
|||
});
|
||||
|
||||
if (!tableData) {
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!');
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!', {
|
||||
severity: 'warning',
|
||||
});
|
||||
}
|
||||
|
||||
const result: INodePropertyOptions[] = [];
|
||||
|
@ -79,7 +81,9 @@ export async function getAttachmentColumns(
|
|||
});
|
||||
|
||||
if (!tableData) {
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!');
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!', {
|
||||
severity: 'warning',
|
||||
});
|
||||
}
|
||||
|
||||
const result: INodePropertyOptions[] = [];
|
||||
|
|
|
@ -78,7 +78,9 @@ export async function getColumns(this: ILoadOptionsFunctions): Promise<ResourceM
|
|||
});
|
||||
|
||||
if (!tableData) {
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!');
|
||||
throw new NodeOperationError(this.getNode(), 'Table information could not be found!', {
|
||||
severity: 'warning',
|
||||
});
|
||||
}
|
||||
|
||||
const fields: ResourceMapperField[] = [];
|
||||
|
|
Loading…
Reference in a new issue