Skip to content

Commit

Permalink
Fixing exception variable
Browse files Browse the repository at this point in the history
  • Loading branch information
iparask committed Jan 10, 2025
1 parent ff3e0d2 commit 0c95586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librarian_background/corruption_fixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0c95586

Please sign in to comment.