immobiliare/fastify-sentry

Reuse the current scope

dnlup opened this issue · 0 comments

dnlup commented

We can re-use the current scope of the request using:

Sentry.getCurrentHub().getScope()

instead of creating a new one with .withScope()