Skip to content

Commit c98c419

Browse files
Update Flow.Launcher.Infrastructure/Win32Helper.cs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b034f0d commit c98c419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/Win32Helper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ public static Task StartSTATaskAsync(Action action)
338338
action();
339339
taskCompletionSource.SetResult();
340340
}
341-
catch (System.Exception)
341+
catch (System.Exception ex)
342342
{
343-
taskCompletionSource.SetResult();
343+
taskCompletionSource.SetException(ex);
344344
}
345345
finally
346346
{

0 commit comments

Comments
 (0)