sentry-asgi icon indicating copy to clipboard operation
sentry-asgi copied to clipboard

Add the sentry hub into the asgi_scope for other middlewares

Open meadsteve opened this issue 6 years ago • 2 comments

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

meadsteve avatar May 28 '19 14:05 meadsteve

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!

stratosgear avatar Sep 08 '19 20:09 stratosgear

What's wrong with accessing Hub.current?

untitaker avatar Sep 20 '19 13:09 untitaker