mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-01 08:01:14 -04:00
If PDF files have a validation error which means that they can't be opened by PyPDF2 we would previously show the 500 status error page. We now catch PyPDF2.utils.PdfReadErrors so that we can display a custom error message on the notification page instead.