We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99db5ac commit 8f4b5baCopy full SHA for 8f4b5ba
src/Sentry.AspNetCore/SentryMiddleware.cs
@@ -53,9 +53,10 @@ public SentryMiddleware(
53
_options = options?.Value;
54
if (_options != null)
55
{
56
+ var hub = _hubAccessor();
57
foreach (var callback in _options.ConfigureScopeCallbacks)
58
- _sentry.ConfigureScope(callback);
59
+ hub.ConfigureScope(callback);
60
}
61
62
_hostingEnvironment = hostingEnvironment;
0 commit comments