Skip to content

Exceptions captured through Extensions.Logging marked as handled = true #3394

Closed

Description

An easy repro is Sentry.Samples.AspNetCore.Blazor.Wasm:

private static void Thrower() => throw null;

The sample throws null but the error gets captured through Sentry.Extensions.Logging which calls _hub.CaptureException which ends up in here getting marked as handled
else if (exception.StackTrace != null)
{
// The exception was thrown, but it was caught by the user, not an integration.
// Thus, we can mark it as handled.
mechanism.Handled = true;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions