aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 93db9073..daed5d3f 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -962,6 +962,11 @@ namespace slskd
{
Log.Error("Disconnected from the Soulseek server: another client logged in using the same username");
}
+ else if (args.Exception is VPNClientException)
+ {
+ Log.Error("Disconnected from the Soulseek server; VPN is required and the VPN client has gone down");
+ ConnectionWatchdog.Start();
+ }
else
{
Log.Error("Disconnected from the Soulseek server: {Message}", args.Exception?.Message ?? args.Message);