From b7d70dbe919fe7c64897d92bf79e6416c7a7f078 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 23 Jan 2023 08:25:26 -0600 Subject: docs --- src/slskd/Relay/RelayClient.cs | 3 +-- src/slskd/Relay/RelayService.cs | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index fbf13e14..eef84c27 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -501,7 +501,6 @@ namespace slskd.Relay try { // wait for the authentication flow to complete - // time out after 5 seconds in case we get stuck waiting on a dead Task await LoggedInTaskCompletionSource.Task; Log.Information("Uploading shares..."); @@ -510,7 +509,7 @@ namespace slskd.Relay } catch (Exception ex) { - Log.Error(ex, ex.Message); + Log.Error(ex, "Failed to log in and/or upload shares: {Message}", ex.Message); Log.Error("Disconnecting from the relay controller"); // stop, then fire and forget StartAsync() to re-enter the connection retry loop diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index a403fa73..c7056a0c 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -75,7 +75,7 @@ namespace slskd.Relay /// /// /// The remote agent makes an HTTP POST request containing a multipart upload including a backup of its shared - /// database and a serialized list of locally configured shares, and the controller invokes . + /// database and a serialized list of locally configured shares, and the controller invokes . /// /// /// @@ -122,7 +122,7 @@ namespace slskd.Relay /// /// /// The remote agent makes an HTTP POST request containing a multipart upload including the file, and the - /// API controller invokes and awaits . The stream is passed from + /// API controller invokes and awaits . The stream is passed from /// this method back to the awaited , and the Upload service passes the /// stream to Soulseek.NET, streaming the data from the still-open HTTP request through to the remote /// Soulseek user. @@ -137,7 +137,7 @@ namespace slskd.Relay /// /// When the Upload is complete (successfully or otherwise), the Upload service invokes /// , passing an optional if the transfer was not - /// successful. This call signals the waiting to complete, passing + /// successful. This call signals the waiting to complete, passing /// control back to the API controller and completing the HTTP POST request from the agent. /// /// @@ -451,7 +451,7 @@ namespace slskd.Relay /// /// /// The remote agent makes an HTTP POST request containing a multipart upload including the file, and the - /// API controller invokes and awaits . The stream is passed from + /// API controller invokes and awaits . The stream is passed from /// this method back to the awaited , and the Upload service passes the /// stream to Soulseek.NET, streaming the data from the still-open HTTP request through to the remote /// Soulseek user. @@ -466,7 +466,7 @@ namespace slskd.Relay /// /// When the Upload is complete (successfully or otherwise), the Upload service invokes /// , passing an optional if the transfer was not - /// successful. This call signals the waiting to complete, passing + /// successful. This call signals the waiting to complete, passing /// control back to the API controller and completing the HTTP POST request from the agent. /// /// -- cgit v1.2.3