Closed
Description
When capturing events, we look to see if any unhandled exceptions have occurred and if so we end the session and mark it as crashed.
sentry-dotnet/src/Sentry/Internal/Hub.cs
Lines 321 to 333 in af8c42c
This is a problem if the unhandled exception did not actually cause the application to crash, which happens in the case of an exception in an unobserved task.
We should only end the session if indeed the application is terminating.
Affects Unity also, as per discussion with @bitsandfoxes.
Relates to getsentry/rfcs#10 - but shouldn't depend on it being completed. (We can prevent the end of session whether or not we send that information to Sentry.)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done