add exc_info to get trace on .msg processing failure
This commit is contained in:
parent
c7c66a5501
commit
4911ef0b9a
1 changed files with 1 additions and 1 deletions
|
|
@ -426,7 +426,7 @@ class IrAttachment(models.Model):
|
||||||
return thread_id
|
return thread_id
|
||||||
else:
|
else:
|
||||||
error_msg = f"Failed to process MSG file: {self.name} - message_process failed to create thread_id"
|
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
|
return False
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue