From 45a42a5e549733379ef1925f5af65c5f3bd1fe24 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sun, 23 Apr 2023 20:00:06 +0800 Subject: [PATCH] Log exception when QL timeout --- Flow.Launcher/Helper/QuickLookHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/Helper/QuickLookHelper.cs b/Flow.Launcher/Helper/QuickLookHelper.cs index 1003e731f..136f86cdb 100644 --- a/Flow.Launcher/Helper/QuickLookHelper.cs +++ b/Flow.Launcher/Helper/QuickLookHelper.cs @@ -96,9 +96,10 @@ namespace Flow.Launcher.Helper return serverInstances; } - catch (TimeoutException) + catch (TimeoutException e) { client.Close(); + Log.Exception($"{nameof(QuickLookHelper)}", "QuickLook connection timeout", e); return 0; } }