mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Convert verbose to debug logs (#10574)
This commit is contained in:
@@ -598,7 +598,7 @@ export class EmailReadImapV2 implements INodeType {
|
||||
}
|
||||
},
|
||||
onUpdate: async (seqNo: number, info) => {
|
||||
this.logger.verbose(`Email Read Imap:update ${seqNo}`, info);
|
||||
this.logger.debug(`Email Read Imap:update ${seqNo}`, info);
|
||||
},
|
||||
};
|
||||
|
||||
@@ -631,7 +631,7 @@ export class EmailReadImapV2 implements INodeType {
|
||||
});
|
||||
conn.on('error', async (error) => {
|
||||
const errorCode = ((error as JsonObject).code as string).toUpperCase();
|
||||
this.logger.verbose(`IMAP connection experienced an error: (${errorCode})`, {
|
||||
this.logger.debug(`IMAP connection experienced an error: (${errorCode})`, {
|
||||
error: error as Error,
|
||||
});
|
||||
this.emitError(error as Error);
|
||||
@@ -647,7 +647,7 @@ export class EmailReadImapV2 implements INodeType {
|
||||
let reconnectionInterval: NodeJS.Timeout | undefined;
|
||||
|
||||
const handleReconnect = async () => {
|
||||
this.logger.verbose('Forcing reconnect to IMAP server');
|
||||
this.logger.debug('Forcing reconnect to IMAP server');
|
||||
try {
|
||||
isCurrentlyReconnecting = true;
|
||||
if (connection.closeBox) await connection.closeBox(false);
|
||||
|
||||
Reference in New Issue
Block a user