aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/RelayClient.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-27 20:36:53 -0500
committerGitHub <noreply@github.com>2026-04-27 20:36:53 -0500
commit8c611f627b1859a1d9963388fb40f7dfeaeda652 (patch)
tree6564d337d0fe73a3c2f93b601e3e782e42f964c1 /src/slskd/Relay/RelayClient.cs
parentcb4d254099cf846f918214c2be07341d93d90900 (diff)
parent2b97e3ef7f65b57c3cbe2f3298aef4f856a47985 (diff)
downloadslskd-8c611f627b1859a1d9963388fb40f7dfeaeda652.tar.gz
Merge branch 'master' into docker-volume
Diffstat (limited to 'src/slskd/Relay/RelayClient.cs')
-rw-r--r--src/slskd/Relay/RelayClient.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs
index 6fb2f360..9aec7b00 100644
--- a/src/slskd/Relay/RelayClient.cs
+++ b/src/slskd/Relay/RelayClient.cs
@@ -362,11 +362,6 @@ namespace slskd.Relay
LoggedInTaskCompletionSource.TrySetResult();
}
- catch (UnauthorizedAccessException)
- {
- await HubConnection.StopAsync();
- Log.Error("Relay controller authentication failed. Check configuration.");
- }
catch (Exception ex)
{
Log.Error(ex, "Failed to handle authentication challenge: {Message}", ex.Message);
@@ -532,6 +527,8 @@ namespace slskd.Relay
Log.Information("Uploading shares...");
await UploadSharesAsync();
+
+ Log.Information("Shares uploaded. Ready to relay files.");
}
catch (Exception ex)
{
@@ -542,8 +539,6 @@ namespace slskd.Relay
await StopAsync();
_ = StartAsync();
}
-
- Log.Information("Shares uploaded. Ready to relay files.");
}
private Task HubConnection_Reconnecting(Exception arg)