Remove first chance exception

Remove first chance exception,
it crash the app frequently when squirrel throw/catch exception internally.
This commit is contained in:
bao-qian 2017-03-28 22:30:55 +01:00
parent 128671f5e9
commit 90f7b5259b

View File

@ -140,8 +140,6 @@ 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()