aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-25 18:54:10 -0500
committerJP Dillingham <jp@dillingham.me>2026-04-25 18:54:10 -0500
commit3b9d14bf6f128d771149f6589f345967aea5dc4d (patch)
tree161e392274e8d84d1c0d4856a91b6df8a25ed5c8 /src
parent38c821d0eb5f22c30ca9be8f24e452f5ce0b83ca (diff)
downloadslskd-3b9d14bf6f128d771149f6589f345967aea5dc4d.tar.gz
don't try to catch typed exceptions from hub invocations
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Relay/RelayClient.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs
index de6edcf7..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);