src/App/App.xaml.cs
/// <summary>
/// Called when an uncaught error occurs.
/// </summary>
/// <param name="sender">The source of the error throw.</param>
/// <param name="e">Details about unhandled exception.</param>
Called when an uncaught error occurs.
Called when an uncaught error occurs .
private void OnUnhandledException(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e)
        {
            e.Handled = true;
            var logger = ServiceLocator.Instance.GetService<ILoggerModule>();
            logger.LogError(e.Exception);
        }
private void OnUnhandledException ( object sender , Windows . UI . Xaml . UnhandledExceptionEventArgs e ) { e . Handled = true ; var logger = ServiceLocator . Instance . GetService < ILoggerModule > ( ) ; logger . LogError ( e . Exception ) ; }
Called when an uncaught error occurs.
Called when an uncaught error occurs .
sender
object
The source of the error throw.
The source of the error throw .
e
Windows.UI.Xaml.UnhandledExceptionEventArgs
Details about unhandled exception.
Details about unhandled exception .