Skip to content

Commit 45a42a5

Browse files
Log exception when QL timeout
1 parent 441d4cb commit 45a42a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Flow.Launcher/Helper/QuickLookHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ static async Task<int> QuickLookServerAvailable()
9696

9797
return serverInstances;
9898
}
99-
catch (TimeoutException)
99+
catch (TimeoutException e)
100100
{
101101
client.Close();
102+
Log.Exception($"{nameof(QuickLookHelper)}", "QuickLook connection timeout", e);
102103
return 0;
103104
}
104105
}

0 commit comments

Comments
 (0)