mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 12:18:25 -04:00
remove extra logs
This commit is contained in:
@@ -170,7 +170,7 @@ def upload_letter(service_id):
|
||||
# TODO: get page count from the sanitise response once template preview handles malformed files nicely
|
||||
page_count = pdf_page_count(BytesIO(pdf_file_bytes))
|
||||
except PdfReadError:
|
||||
current_app.logger.info('Invalid PDF uploaded for service_id: {}'.format(service_id))
|
||||
current_app.logger.error('Invalid PDF uploaded for service_id: {}'.format(service_id))
|
||||
return invalid_upload_error(
|
||||
"There’s a problem with your file",
|
||||
'Notify cannot read this PDF.<br>Save a new copy of your file and try again.'
|
||||
|
||||
Reference in New Issue
Block a user