From f4d0cc4dd1c04962f8bbd957a6f3b51352b5f465 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sat, 1 Apr 2017 18:50:22 +0100 Subject: [PATCH] Misc --- Wox/App.xaml.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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()