diff --git a/apps/meteor/server/features/EmailInbox/EmailInbox.ts b/apps/meteor/server/features/EmailInbox/EmailInbox.ts index a959937fae02..b2e87f3f5937 100644 --- a/apps/meteor/server/features/EmailInbox/EmailInbox.ts +++ b/apps/meteor/server/features/EmailInbox/EmailInbox.ts @@ -88,8 +88,8 @@ export async function configureEmailInboxes(): Promise { }); inboxes.set(emailInboxRecord.email, { imap, smtp, config: emailInboxRecord }); - } catch (error) { - logger.error(`Error setting up email interceptor for ${emailInboxRecord.email}`, error); + } catch (err) { + logger.error({ msg: `Error setting up email interceptor for ${emailInboxRecord.email}`, err }); } }