diff --git a/Wox/App.xaml.cs b/Wox/App.xaml.cs index 92062952b1..f5c7627da5 100644 --- a/Wox/App.xaml.cs +++ b/Wox/App.xaml.cs @@ -141,8 +141,10 @@ 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); }; + AppDomain.CurrentDomain.FirstChanceException += (_, e) => + { + Log.Exception("|App.RegisterAppDomainExceptions|First Chance Exception:", e.Exception); + }; } public void Dispose()