[FIX] account_edi_ubl_cii: ignore exception error in sentry
'Error while converting to PDF/A' log error is generated when the user uploads the files and that file could' t convert PDF to PDF-A. we stop catching exception in sentry. sentry-4172828056 closes odoo/odoo#122555 X-original-commit: 1c0418f00a8111058465e95dfedec1b8d6200e60 Signed-off-by: Quentin De Paoli <qdp@odoo.com> Signed-off-by: Sanket Brahmbhatt (sabr) <sabr@odoo.com>
This commit is contained in:
committed by
bit-odoo
parent
92a0907484
commit
220f9b30cc
@@ -169,6 +169,7 @@ class AccountMoveSend(models.Model):
|
||||
try:
|
||||
writer.convert_to_pdfa()
|
||||
except Exception as e:
|
||||
e.sentry_ignored = True
|
||||
_logger.exception("Error while converting to PDF/A: %s", e)
|
||||
|
||||
# Extra metadata to be Factur-x PDF-A compliant.
|
||||
|
||||
Reference in New Issue
Block a user