mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Do not show errors not processed by n8n (no-changelog) (#9598)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -253,7 +253,7 @@ export class Ldap implements INodeType {
|
||||
} catch (error) {
|
||||
delete error.cert;
|
||||
await client.unbind();
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
return [
|
||||
items.map((x) => {
|
||||
x.json.error = error.reason || 'LDAP connection error occurred';
|
||||
@@ -418,7 +418,7 @@ export class Ldap implements INodeType {
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
if (this.continueOnFail(error)) {
|
||||
returnItems.push({ json: items[itemIndex].json, error, pairedItem: itemIndex });
|
||||
} else {
|
||||
await client.unbind();
|
||||
|
||||
Reference in New Issue
Block a user