mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Disable errors obfuscation (no-changelog) (#10617)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user