Open bricefriha opened 2 weeks ago
Since it's on java crashes, I couldn't find a way to add tests
Since it's on java crashes, I couldn't find a way to add tests
@bricefriha how did you test it manually?
how did you test it manually?
I added an attachment at scope configuration and generated a JavaBackgroundThread
crash and checked Sentry if we have only one event and all the attachments
I was trying to make a device test, but that would crash the entire test, since it's an unhandled exception
Reported on #3545 , this bug yielded two events when
JavaBackgroundThread
crashes occurred: oneUnhandledException
with no Logcat attachments and no scope attachments and oneAppDomain.UnhandledException
with all expected attachments.This change prevents the
UnhandledException
event to popup. The reason why we are choosing the event withUnhandledException
mechanism overAppDomain.UnhandledException
is for consistency purposes, as other Java crashes send a singleAppDomain.UnhandledException
event.