Skip to content

Commit 5bafe23

Browse files
Jack251970Copilot
andauthored
Improve code comments
Co-authored-by: Copilot <[email protected]>
1 parent 5045f19 commit 5bafe23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher/Helper/ErrorReporting.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ public static void TaskSchedulerUnobservedTaskException(object sender, Unobserve
3636
{
3737
//handle unobserved task exceptions
3838
Application.Current.Dispatcher.Invoke(() => Report(e.Exception));
39-
//prevent application exist, so the user can copy prompted error info
40-
e.SetObserved();
39+
//prevent application exit, so the user can copy the prompted error info
4140
}
4241

4342
public static string RuntimeInfo()

0 commit comments

Comments
 (0)