diff --git a/Wox/App.xaml.cs b/Wox/App.xaml.cs index 913887f15a..92062952b1 100644 --- a/Wox/App.xaml.cs +++ b/Wox/App.xaml.cs @@ -141,6 +141,8 @@ namespace Wox private static void RegisterAppDomainExceptions() { AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle; + AppDomain.CurrentDomain.FirstChanceException += + (s, e) => { Log.Exception("|App.RegisterAppDomainExceptions|First Chance Exception:", e.Exception); }; } public void Dispose()