Skip to content

fix(client): preserve original exception context with from clause#64

Merged
fguillot merged 1 commit intomainfrom
fix/preserve-exception-context
Mar 25, 2026
Merged

fix(client): preserve original exception context with from clause#64
fguillot merged 1 commit intomainfrom
fix/preserve-exception-context

Conversation

@fguillot
Copy link
Member

ClientError was wrapping caught exceptions without chaining them, discarding the original traceback. Added from e to both raise sites so the root cause is visible when debugging.

ClientError was wrapping caught exceptions without chaining them,
discarding the original traceback. Added `from e` to both raise
sites so the root cause is visible when debugging.
@fguillot fguillot merged commit 2df90cc into main Mar 25, 2026
11 checks passed
@fguillot fguillot deleted the fix/preserve-exception-context branch March 25, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant