Update App.xaml.cs

This commit is contained in:
ema
2025-01-05 10:40:25 +08:00
parent 0d1ff892ee
commit 03e25359b1

View File

@@ -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());