aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-07 18:55:33 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-07 18:55:33 -0600
commit1aff04b696f30ffbca057a20f68fbd71246d6fbb (patch)
treef5de15e8567481c23618ee265c6eaad2eda6cf96 /src/slskd/Integrations
parent0f14c33d3d1682e235b6fe29a8bfe555e48a339f (diff)
downloadslskd-1aff04b696f30ffbca057a20f68fbd71246d6fbb.tar.gz
simplify logs
Diffstat (limited to 'src/slskd/Integrations')
-rw-r--r--src/slskd/Integrations/VPN/GluetunClient.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slskd/Integrations/VPN/GluetunClient.cs b/src/slskd/Integrations/VPN/GluetunClient.cs
index 28fef202..2d1588dd 100644
--- a/src/slskd/Integrations/VPN/GluetunClient.cs
+++ b/src/slskd/Integrations/VPN/GluetunClient.cs
@@ -105,8 +105,8 @@ public class GluetunClient : IVPNClient
}
catch (Exception ex)
{
- Log.Warning("Failed to retrieve status from Gluetun: {Message}", ex.Message);
- throw new VPNClientException($"Failed to retrieve status from Gluetun: {ex.Message}", ex);
+ Log.Debug("Failed to retrieve status from Gluetun: {Message}", ex.Message);
+ throw new VPNClientException(ex.Message, ex);
}
}
@@ -116,7 +116,7 @@ public class GluetunClient : IVPNClient
response.EnsureSuccessStatusCode();
var result = await response.Content.ReadFromJsonAsync<T>()
- ?? throw new Exception($"Failed to deserialize Gluetun response; expected: {nameof(T)}, got: {await response.Content.ReadAsStringAsync()}");
+ ?? throw new Exception($"Unexpected Gluetun response; expected: {nameof(T)}, got: {await response.Content.ReadAsStringAsync()}");
return result;
}