diff --git a/securedrop/journalist_app/utils.py b/securedrop/journalist_app/utils.py index 94fdf85be82..438ab74aca9 100644 --- a/securedrop/journalist_app/utils.py +++ b/securedrop/journalist_app/utils.py @@ -404,7 +404,7 @@ def purge_deleted_sources() -> None: for source in sources: try: delete_collection(source.filesystem_id) - except GpgKeyNotFoundError as e: + except Exception as e: current_app.logger.error("Error deleting source %s: %s", source.uuid, e)