Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Add the sentry hub into the asgi_scope for other middlewares #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meadsteve
Copy link

With the sentry hub attached to the asgi scope then other middlwares (or request handlers) can access the sentry hub.

@stratosgear
Copy link

I think this is a nice addition, that I would definitely take advantage off. Can this get merged (and released?)

Thanks for this utility, btw!

@untitaker
Copy link

What's wrong with accessing Hub.current?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants