Skip to content

Commit f7a83af

Browse files
fix: Handled is no longer set to false for blocking calls (#4458)
The 'handled' property is now omitted from the mechanism for blocking call detection events, so they are not treated as unhandled crashes in Sentry UI.
1 parent e01ed72 commit f7a83af

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Remove `IDisposable` from `SentryStructuredLogger`. Disposal is intended through the owning `IHub` instance ([#4424](https://github.com/getsentry/sentry-dotnet/pull/4424))
1414
- Ensure all buffered logs are sent to Sentry when the application terminates unexpectedly ([#4425](https://github.com/getsentry/sentry-dotnet/pull/4425))
1515
- `InvalidOperationException` potentially thrown during a race condition, especially in concurrent high-volume logging scenarios ([#4428](https://github.com/getsentry/sentry-dotnet/pull/4428))
16+
- Blocking calls are no longer treated as unhandled crashes ([#4458](https://github.com/getsentry/sentry-dotnet/pull/4458))
1617

1718
### Dependencies
1819

src/Sentry/Ben.BlockingDetector/BlockingMonitor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public void BlockingStart(DetectionSource detectionSource)
7070
Mechanism = new Mechanism
7171
{
7272
Type = "BlockingCallDetector",
73-
Handled = false,
7473
Description = "Blocking calls can cause ThreadPool starvation.",
7574
Source = detectionSource.ToString()
7675
},

0 commit comments

Comments
 (0)