Log exception when QL timeout

This commit is contained in:
Vic 2023-04-23 20:00:06 +08:00
parent 441d4cb173
commit 45a42a5e54

View file

@ -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;
}
}