Skip to content

feat: add parameter to preserve target driver error - #1282

Merged
karenc-bq merged 1 commit into
mainfrom
fix/preserve-driver-exception-type
Oct 22, 2026
Merged

karenc-bq merged 1 commit into
mainfrom
fix/preserve-driver-exception-type

Conversation

@karenc-bq

@karenc-bq karenc-bq commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

The failover plugins currently wrap non-network errors in generic AwsWrapperErrors. Libraries such as SQLAlchemy and Django are unable to correctly classify and handle the nested errors.
Add a new connection parameter preserver_target_driver_error_type to raise the target driver errors as-is while preserving backwards compatibility.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@karenc-bq
karenc-bq force-pushed the fix/preserve-driver-exception-type branch from 3948fcf to fa316b4 Compare October 5, 2026 23:32
@karenc-bq
karenc-bq marked this pull request as ready for review October 5, 2026 23:32
@karenc-bq
karenc-bq force-pushed the fix/preserve-driver-exception-type branch from fa316b4 to a742575 Compare October 22, 2026 08:29
@karenc-bq
karenc-bq merged commit 9dbac13 into main Oct 22, 2026
9 checks passed
@karenc-bq
karenc-bq deleted the fix/preserve-driver-exception-type branch October 22, 2026 08:37
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.

2 participants