fix: Disable errors obfuscation (no-changelog) (#10617)

This commit is contained in:
Michael Kret
2024-08-30 10:59:30 +03:00
committed by GitHub
parent 1e08f444c9
commit 9fa1a9aa99
320 changed files with 445 additions and 518 deletions

View File

@@ -405,7 +405,7 @@ export class NocoDB implements INodeType {
returnData.push(...body);
}
} catch (error) {
if (this.continueOnFail(error)) {
if (this.continueOnFail()) {
returnData.push({ error: error.toString() });
}
throw new NodeApiError(this.getNode(), error as JsonObject);
@@ -468,7 +468,7 @@ export class NocoDB implements INodeType {
returnData.push(...responseData);
}
} catch (error) {
if (this.continueOnFail(error)) {
if (this.continueOnFail()) {
returnData.push({ error: error.toString() });
}
throw new NodeApiError(this.getNode(), error as JsonObject);
@@ -541,7 +541,7 @@ export class NocoDB implements INodeType {
return [data];
}
} catch (error) {
if (this.continueOnFail(error)) {
if (this.continueOnFail()) {
returnData.push({ json: { error: error.toString() } });
} else {
throw error;
@@ -617,7 +617,7 @@ export class NocoDB implements INodeType {
newItems.push(...executionData);
}
} catch (error) {
if (this.continueOnFail(error)) {
if (this.continueOnFail()) {
const executionData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray({ error: error.toString() }),
{ itemData: { item: i } },
@@ -759,7 +759,7 @@ export class NocoDB implements INodeType {
returnData.push(...body);
}
} catch (error) {
if (this.continueOnFail(error)) {
if (this.continueOnFail()) {
returnData.push({ error: error.toString() });
}
throw new NodeApiError(this.getNode(), error as JsonObject);