diff --git a/src/paperless_mail/parsers.py b/src/paperless_mail/parsers.py index 4b3e5686e..9bc7081d6 100644 --- a/src/paperless_mail/parsers.py +++ b/src/paperless_mail/parsers.py @@ -215,6 +215,8 @@ class MailDocumentParser(DocumentParser): mail_message.attachments, ) + self.log.debug("Merging email text and HTML content into single PDF") + with GotenbergClient( host=settings.TIKA_GOTENBERG_ENDPOINT, timeout=settings.CELERY_TASK_TIME_LIMIT, @@ -348,7 +350,7 @@ class MailDocumentParser(DocumentParser): text = compiled_close.sub("