-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
BeforeSend not respected when exception is unhandled in a task #3751
Comments
I'm not 100% sure the repro is accurate - AFAIK it's the same conceptually with the real repro (below) but I couldn't get it to reproduce the same behavior. "Real" repro:
I think this is accurate - but the issue I am seeing in production is related to |
@georgiosd Thanks for reporting this, we're taking a look |
Unfortunately, I'm unable to reproduce this yet. @georgiosd, is it a UWP app, MAUI, or something else? |
This is on an ASP.NET Core 6.0 app, hence the background service - should have said `BackgroundService`.
But take a look at the issue I linked above from PuppeteerSharp - I believe it’s thrown from a finalizer thread somewhere?
|
@georgiosd that Pupeteer repsitory is pretty big and there's a lot going on there. It makes it quite hard to reproduce this issue. Are you able to provide a minimal reproduction of the issue that we could look at? |
Yeah, I understand. I'll spend some time and see if I can reproduce this. |
Package
Sentry
.NET Flavor
.NET
.NET Version
6.0.0
OS
Windows
SDK Version
3.34.0
Self-Hosted Sentry Version
No response
Steps to Reproduce
OnBeforeSend
to return null when event has exception of typeSomeException
.SomeException
from aTask.Run
func.Expected Result
Sentry filters out the exception.
Actual Result
Sentry still sends the exception "home".
The text was updated successfully, but these errors were encountered: