mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
error report windows won't crashs
This commit is contained in:
parent
f62f15cea7
commit
911a43337b
@ -26,6 +26,8 @@ namespace Wox.Helper
|
|||||||
{
|
{
|
||||||
//handle ui thread exceptions
|
//handle ui thread exceptions
|
||||||
Report(e.Exception);
|
Report(e.Exception);
|
||||||
|
//prevent application exist, so the user can copy prompted error info
|
||||||
|
e.Handled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string RuntimeInfo()
|
public static string RuntimeInfo()
|
||||||
|
Loading…
Reference in New Issue
Block a user