diff --git a/librarian_background/corruption_fixer.py b/librarian_background/corruption_fixer.py index 5759693..1fdbe64 100644 --- a/librarian_background/corruption_fixer.py +++ b/librarian_background/corruption_fixer.py @@ -195,7 +195,7 @@ def core(self, session: Session) -> bool: if not resend_response.success: raise ValueError("Failure during resend") - except (LibrarianError, LibrarianHTTPError): + except (LibrarianError, LibrarianHTTPError) as e: logger.error( "Failed during the resend request flow for librarian {lib}, " "corrupt {id} for file {name} with {e}; we have deleted data and rows",