Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: avoid early initialisation of connection errors #1206

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

owenpearson
Copy link
Member

@owenpearson owenpearson commented Apr 24, 2023

Resolves #1202

Fixes an issue where reusable connection errors would have a stack trace showing where they were initialised, ie upon module import, rather than where they are thrown

Resolves an issue where stack traces for reusable connection errors
would include a stack trace showing where they were initialised, ie
upon module import, rather than where they are thrown
@owenpearson owenpearson merged commit 94eafe0 into main Apr 26, 2023
10 checks passed
@owenpearson owenpearson deleted the connection-errors-no-early-init branch April 26, 2023 09:10
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.

Wrong stack traces for errors
2 participants