mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
Misc
This commit is contained in:
@@ -141,8 +141,10 @@ namespace Wox
|
|||||||
private static void RegisterAppDomainExceptions()
|
private static void RegisterAppDomainExceptions()
|
||||||
{
|
{
|
||||||
AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle;
|
AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle;
|
||||||
AppDomain.CurrentDomain.FirstChanceException +=
|
AppDomain.CurrentDomain.FirstChanceException += (_, e) =>
|
||||||
(s, e) => { Log.Exception("|App.RegisterAppDomainExceptions|First Chance Exception:", e.Exception); };
|
{
|
||||||
|
Log.Exception("|App.RegisterAppDomainExceptions|First Chance Exception:", e.Exception);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
|||||||
Reference in New Issue
Block a user