fix(Email Trigger (IMAP) Node): Reconnect not working correctly (#10064)

This commit is contained in:
Shireen Missi
2024-07-15 17:20:24 +01:00
committed by GitHub
parent bb354f3c88
commit 68d5d7e2e9

View File

@@ -634,8 +634,6 @@ export class EmailReadImapV2 implements INodeType {
this.logger.verbose(`IMAP connection experienced an error: (${errorCode})`, {
error: error as Error,
});
// eslint-disable-next-line @typescript-eslint/no-use-before-define
await closeFunction();
this.emitError(error as Error);
});
return conn;