Skip to content

Chain errors in pack_refs#48

Draft
tejas-ae wants to merge 1 commit into
GerritCodeReview:masterfrom
tejas-ae:fix/chain-errors-in-pack-refs
Draft

Chain errors in pack_refs#48
tejas-ae wants to merge 1 commit into
GerritCodeReview:masterfrom
tejas-ae:fix/chain-errors-in-pack-refs

Conversation

@tejas-ae

Copy link
Copy Markdown

Spotted something in contrib/maintenance/git/repo.py that might be worth a look: The wrapper exception drops the original cause. this patch chains it with from so the real failure still shows up in tracebacks — happy to close if this isn’t useful.
Happy to revise the approach or close this if it doesn’t fit — you know the codebase far better than I do.

@google-cla

google-cla Bot commented Apr 20, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant