From 911a43337b4f3c93c0ec03621172c6633bd3586d Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sat, 1 Apr 2017 13:13:53 +0100 Subject: [PATCH] error report windows won't crashs --- Wox/Helper/ErrorReporting.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Wox/Helper/ErrorReporting.cs b/Wox/Helper/ErrorReporting.cs index b160d8da77..e6bec5a45a 100644 --- a/Wox/Helper/ErrorReporting.cs +++ b/Wox/Helper/ErrorReporting.cs @@ -26,6 +26,8 @@ namespace Wox.Helper { //handle ui thread exceptions Report(e.Exception); + //prevent application exist, so the user can copy prompted error info + e.Handled = true; } public static string RuntimeInfo()