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 02e622c commit 15d1d76Copy full SHA for 15d1d76
samples/Sentry.Samples.AspNetCore.Mvc/ExampleEventProcessor.cs
@@ -14,7 +14,7 @@ public SentryEvent Process(SentryEvent @event)
14
{
15
// Here I can modify the event, while taking dependencies via DI
16
17
- @event.SetExtra("Response:HasStarted", _httpContext.HttpContext.Response.HasStarted);
+ @event.SetExtra("Response:HasStarted", _httpContext.HttpContext?.Response.HasStarted);
18
return @event;
19
}
20
0 commit comments