You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
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.
sentry-dotnet/src/Sentry/Integrations/UnobservedTaskExceptionIntegration.cs
Lines 35 to 36 in af8c42c
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.)
The text was updated successfully, but these errors were encountered: