You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Can there be an `Action<Scope> configureScope` parameter on `CaptureFeedback`? [The documentation](https://docs.sentry.io/platforms/dotnet/enriching-events/scopes/#using-scope-callback-parameter) even says:
That particular example shows the CaptureException method... but yes, those docs do say the scope can be passed on all capture methods - so we should probably add this.
It's really just a convenience. As a workaround, in the meantime, the same can be achieved by:
Note that the temporary local scope gets popped when scopeTracker gets disposed above... so important to dispose of it before creating other events that you don't want that scope applied to.
That particular example shows the
CaptureException
method... but yes, those docs do say the scope can be passed on all capture methods - so we should probably add this.It's really just a convenience. As a workaround, in the meantime, the same can be achieved by:
Note that the temporary local scope gets popped when
scopeTracker
gets disposed above... so important to dispose of it before creating other events that you don't want that scope applied to.Originally posted by @jamescrosswell in #3981 (comment)
The text was updated successfully, but these errors were encountered: