mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
change failed virus scan log to error
This commit is contained in:
@@ -171,7 +171,7 @@ def process_virus_scan_passed(filename):
|
||||
|
||||
@notify_celery.task(name='process-virus-scan-failed')
|
||||
def process_virus_scan_failed(filename):
|
||||
current_app.logger.info('Virus scan failed: {}'.format(filename))
|
||||
current_app.logger.error('Virus scan failed: {}'.format(filename))
|
||||
delete_pdf_from_letters_scan_bucket(filename)
|
||||
reference = get_reference_from_filename(filename)
|
||||
updated_count = update_letter_pdf_status(reference, NOTIFICATION_PERMANENT_FAILURE)
|
||||
|
||||
Reference in New Issue
Block a user