diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-21 17:13:21 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-11-21 17:13:21 -0600 |
| commit | 45df497064a1dbfd6db2bf731a5875490ce58ff5 (patch) | |
| tree | 57c172c1b75306aa6760e3cf6f5ea1c0ad6ab256 /src/slskd/Relay/RelayClient.cs | |
| parent | 41f818ee64fb677bb9756b9ff78b38864e05f69a (diff) | |
| download | slskd-45df497064a1dbfd6db2bf731a5875490ce58ff5.tar.gz | |
fix logging issues
Diffstat (limited to 'src/slskd/Relay/RelayClient.cs')
| -rw-r--r-- | src/slskd/Relay/RelayClient.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index 693a7017..406101c6 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -317,11 +317,11 @@ namespace slskd.Relay if (!response.IsSuccessStatusCode) { - Log.Error("Upload of file {Filename} with ID {Id} failed: {StatusCode}", response.StatusCode); + Log.Error("Upload of file {Filename} with ID {Id} failed: {StatusCode}", filename, token, response.StatusCode); } else { - Log.Information("Upload of file {Filename} with ID {Id} succeeded.", filename); + Log.Information("Upload of file {Filename} with ID {Id} succeeded.", filename, token); } } catch (Exception ex) |
