From 293147642f83962884c4e645ec77a911ae562ec5 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 12 Jul 2024 12:04:12 +0100 Subject: [PATCH] fix(NocoDB Node): Add warning level to loadOptions errors (no-changelog) (#10032) --- packages/nodes-base/nodes/NocoDB/NocoDB.node.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts b/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts index e9f469eebe..3d1aeded96 100644 --- a/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts +++ b/packages/nodes-base/nodes/NocoDB/NocoDB.node.ts @@ -238,6 +238,9 @@ export class NocoDB implements INodeType { new Error(`Error while fetching ${version === 3 ? 'bases' : 'projects'}!`, { cause: e, }), + { + level: 'warning', + }, ); } }, @@ -258,12 +261,18 @@ export class NocoDB implements INodeType { throw new NodeOperationError( this.getNode(), new Error('Error while fetching tables!', { cause: e }), + { + level: 'warning', + }, ); } } else { throw new NodeOperationError( this.getNode(), `No ${version === 3 ? 'base' : 'project'} selected!`, + { + level: 'warning', + }, ); } },