Skip to content

Commit a7ebde2

Browse files
Ignore TaskCanceledException
1 parent 1d5cc21 commit a7ebde2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/HedgeModManager.UI/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public static void Main(string[] args)
6262
// Save and display unhandled exceptions
6363
AppDomain.CurrentDomain.UnhandledException += (sender, e) =>
6464
{
65+
// Ignore TaskCanceledException due to unknown issue
66+
if (e.ExceptionObject is TaskCanceledException)
67+
return;
6568
try
6669
{
6770
StringBuilder sb = new();

0 commit comments

Comments
 (0)