aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-08 18:04:37 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-08 18:04:37 -0500
commit5203788c41d652d17f67c3c45658b289a6acf380 (patch)
tree09005a29841dacf2df42f3c5161dc6af5281ed2c /src/slskd/Integrations
parent0422cdddf04d29edb50bf18f74f2697ca25ad47e (diff)
downloadslskd-5203788c41d652d17f67c3c45658b289a6acf380.tar.gz
agent auth and registration
Diffstat (limited to 'src/slskd/Integrations')
-rw-r--r--src/slskd/Integrations/FTP/FTPService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/FTP/FTPService.cs b/src/slskd/Integrations/FTP/FTPService.cs
index 32b8b253..11fa9709 100644
--- a/src/slskd/Integrations/FTP/FTPService.cs
+++ b/src/slskd/Integrations/FTP/FTPService.cs
@@ -73,7 +73,7 @@ namespace slskd.Integrations.FTP
await Retry.Do(
task: () => AttemptUploadAsync(filename),
isRetryable: (attempts, ex) => true,
- onFailure: (attempts, ex) => Log.LogInformation("Failed attempt {Attempts} to upload {Filename} to FTP: {Message}", attempts, fileAndParentDirectory, ex.Message),
+ onFailure: (attempts, ex) => Log.LogInformation("Failed attempt #{Attempts} to upload {Filename} to FTP: {Message}", attempts, fileAndParentDirectory, ex.Message),
maxAttempts: FtpOptions.RetryAttempts,
maxDelayInMilliseconds: 30000);
}