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

Improve the cache miss exception context. #584

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

manthey
Copy link
Member

@manthey manthey commented Apr 2, 2021

When an exception occurs when trying to fetch an item that could be cached, the exception was reported in the cache KeyError context which made debugging harder. By changing the flow pattern, the exception is now reported in its expected context.

When an exception occurs when trying to fetch an item that could be
cached, the exception was reported in the cache KeyError context which
made debugging harder.  By changing the flow pattern, the exception is
now reported in its expected context.
@manthey manthey merged commit 5a6c88f into master Apr 2, 2021
@manthey manthey deleted the cache-miss-exception-context branch April 2, 2021 19:26
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