private void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) { FileTraceWriter.LogError(e.Exception, $"UnhandledException, {e.Exception.Message}"); }