From 03e25359b155c683ecdaf92072ad8dce799a5435 Mon Sep 17 00:00:00 2001 From: ema Date: Sun, 5 Jan 2025 10:40:25 +0800 Subject: [PATCH] Update App.xaml.cs --- QuickLook/App.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QuickLook/App.xaml.cs b/QuickLook/App.xaml.cs index 9149df0..e09d6fd 100644 --- a/QuickLook/App.xaml.cs +++ b/QuickLook/App.xaml.cs @@ -52,6 +52,8 @@ public partial class App : Application protected override void OnStartup(StartupEventArgs e) { + // Test https://github.com/QL-Win/QuickLook/issues/1498 + AppDomain.CurrentDomain.UnhandledException += (sender, args) => { ProcessHelper.WriteLog(((Exception)args.ExceptionObject).ToString());