do not stop processing when we encounter an invalid dmarc report (#587)

This commit is contained in:
bendem
2025-02-03 21:20:52 +01:00
committed by GitHub
parent 38c6f86973
commit 446c018920
+1 -1
View File
@@ -1294,7 +1294,7 @@ def parse_report_email(
"is not a valid "
"aggregate DMARC report: {1}".format(subject, e)
)
raise ParserError(error)
raise InvalidDMARCReport(error)
except Exception as e:
error = "Unable to parse message with " 'subject "{0}": {1}'.format(