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

Reraise original exception instead of a new one #189

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

fuhrysteve
Copy link
Contributor

Raising a new KeyError means you lose the original stacktrace, which
is going to be more useful since it'll contain more information about
the relevant context for this error.

Raising a new KeyError means you lose the original stacktrace, which
is going to be more useful since it'll contain more information about
the relevant context for this error.
@kvesteri kvesteri merged commit 5a3fbcf into kvesteri:master Jun 12, 2018
@kvesteri
Copy link
Owner

Thanks for the PR! 🚋

cmanallen added a commit to caxiam/sqlalchemy-continuum that referenced this pull request Jun 26, 2018
…nal_exception"

This reverts commit 5a3fbcf, reversing
changes made to d4ed900.
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