diff options
author | vnugent <public@vaughnnugent.com> | 2023-08-01 18:04:19 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-08-01 18:04:19 -0400 |
commit | 6de8bb6b38b716605f0d275d998ca47e33520b7a (patch) | |
tree | e6901ce7fad9c83dc740813395e411e59636224d /lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs | |
parent | 1aa04a48e10420f244c96a6f44d71721d10bc63f (diff) |
build configuration added
Diffstat (limited to 'lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs')
-rw-r--r-- | lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs b/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs index d62c831..b10cef7 100644 --- a/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs +++ b/lib/VNLib.Plugins.Extensions.VNCache/src/VnCacheClient.cs @@ -191,12 +191,13 @@ namespace VNLib.Plugins.Extensions.VNCache } catch (WebSocketException wse) { - pluginLog.Warn("Failed to connect to cache server {reason}", wse); + pluginLog.Warn("Failed to establish a websocket connection to cache server {reason}", wse.Message); continue; } + //SEs may be raised when the server is not available catch (HttpRequestException he) when (he.InnerException is SocketException) { - pluginLog.Debug("Failed to connect to random cache server server"); + pluginLog.Debug("Failed to connect to random cache server because a TCP connection could not be established"); //Continue next loop continue; } |