mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🔨 Restore continue on fail
This commit is contained in:
parent
497ffc9679
commit
2902f745e3
|
@ -255,7 +255,7 @@ export class ZohoCrm implements INodeType {
|
||||||
// https://www.zoho.com/crm/developer/docs/api/update-specific-record.html
|
// https://www.zoho.com/crm/developer/docs/api/update-specific-record.html
|
||||||
// https://www.zoho.com/crm/developer/docs/api/delete-specific-record.html
|
// https://www.zoho.com/crm/developer/docs/api/delete-specific-record.html
|
||||||
|
|
||||||
// try {
|
try {
|
||||||
|
|
||||||
if (resource === 'account') {
|
if (resource === 'account') {
|
||||||
|
|
||||||
|
@ -1341,14 +1341,14 @@ export class ZohoCrm implements INodeType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// } catch (error) {
|
} catch (error) {
|
||||||
// if (this.continueOnFail()) {
|
if (this.continueOnFail()) {
|
||||||
// returnData.push({ error: error.message });
|
returnData.push({ error: error.message });
|
||||||
// continue;
|
continue;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// throw error;
|
throw error;
|
||||||
// }
|
}
|
||||||
|
|
||||||
Array.isArray(responseData)
|
Array.isArray(responseData)
|
||||||
? returnData.push(...responseData)
|
? returnData.push(...responseData)
|
||||||
|
|
Loading…
Reference in a new issue