mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-25 11:31:38 -08:00
fix(Email Trigger (IMAP) Node): Reconnect not working correctly (#10064)
This commit is contained in:
parent
bb354f3c88
commit
68d5d7e2e9
|
@ -634,8 +634,6 @@ export class EmailReadImapV2 implements INodeType {
|
||||||
this.logger.verbose(`IMAP connection experienced an error: (${errorCode})`, {
|
this.logger.verbose(`IMAP connection experienced an error: (${errorCode})`, {
|
||||||
error: error as Error,
|
error: error as Error,
|
||||||
});
|
});
|
||||||
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
||||||
await closeFunction();
|
|
||||||
this.emitError(error as Error);
|
this.emitError(error as Error);
|
||||||
});
|
});
|
||||||
return conn;
|
return conn;
|
||||||
|
|
Loading…
Reference in a new issue