Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added ApplicationNotRespondingException type #1800

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

bitsandfoxes
Copy link
Contributor

The ApplicationNotResponding exception was previously internal.

This can now be consumed i.e. in a BeforeSend callback to modify or filter

options.SetBeforeSend((sentryEvent, _) =>
{
    if (sentryEvent.Exception is ApplicationNotRespondingException)
    {
        return null;
    }

    return sentryEvent;
});

Copy link
Contributor

github-actions bot commented Sep 12, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 353686c

@bruno-garcia bruno-garcia merged commit 9526a95 into main Sep 12, 2024
5 checks passed
@bruno-garcia bruno-garcia deleted the feat/anr-exception branch September 12, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants