Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
polyakrecords committed Feb 18, 2019
1 parent 8aec722 commit 4677732
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions source/HockeySDK.AndroidBindings/Additions/CrashManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ private static void ConnectUnhandledExceptionEvents(global::HockeyApp.Android.Cr

AndroidEnvironment.UnhandledExceptionRaiser += (sender, e) => TraceWriter.WriteTrace(e.Exception);
AppDomain.CurrentDomain.UnhandledException += (sender, e) => TraceWriter.WriteTrace(e.ExceptionObject);
TaskScheduler.UnobservedTaskException += (sender, e) =>
{
if (!e.Observed)
{
TraceWriter.WriteTrace(e.Exception, terminateOnUnobservedTaskException);
}
};
connectedToUnhandledExceptionEvents = true;
TaskScheduler.UnobservedTaskException += (sender, e) =>
{
if (!e.Observed)
{
TraceWriter.WriteTrace(e.Exception, terminateOnUnobservedTaskException);
}
};
connectedToUnhandledExceptionEvents = true;
}
}
}
Expand Down

0 comments on commit 4677732

Please sign in to comment.