From 4911ef0b9ac82bb3a4682225e9425b6803d1cd64 Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Tue, 28 Jan 2025 17:06:04 -0500 Subject: [PATCH] add exc_info to get trace on .msg processing failure --- msg_attachments_to_mail_message/models/ir_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msg_attachments_to_mail_message/models/ir_attachment.py b/msg_attachments_to_mail_message/models/ir_attachment.py index 9b9be5e..7bfc927 100644 --- a/msg_attachments_to_mail_message/models/ir_attachment.py +++ b/msg_attachments_to_mail_message/models/ir_attachment.py @@ -426,7 +426,7 @@ class IrAttachment(models.Model): return thread_id else: error_msg = f"Failed to process MSG file: {self.name} - message_process failed to create thread_id" - _msg_import_logger.error(error_msg) + _msg_import_logger.error(error_msg, exc_info=True) return False except Exception as e: