mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(NocoDB Node): Add warning level to loadOptions errors (no-changelog) (#10032)
This commit is contained in:
parent
4aa60c6145
commit
293147642f
|
@ -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',
|
||||
},
|
||||
);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue