Closed kochis closed 2 years ago
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
Description
We're using the sentry express handler in our code, which is working as expected for uncaught exceptions.
However, when making one-off calls to
captureException
elsewhere in the codebase:we notice those exceptions generally have scope info from other requests attached.
Is it expected that calls to
captureException
outside of the middleware handler should be decorated with the same the scope info as those handled by the middleware? Should we be passing (or clearing) the scope when calling intocaptureException
?Can definitely provide more details, and a way to reproduce if needed, but just wanted to first check if there was something obvious we should be doing here.