aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/API/Hubs/RelayHub.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-21 17:13:21 -0600
committerJP Dillingham <jp@dillingham.me>2022-11-21 17:13:21 -0600
commit45df497064a1dbfd6db2bf731a5875490ce58ff5 (patch)
tree57c172c1b75306aa6760e3cf6f5ea1c0ad6ab256 /src/slskd/Relay/API/Hubs/RelayHub.cs
parent41f818ee64fb677bb9756b9ff78b38864e05f69a (diff)
downloadslskd-45df497064a1dbfd6db2bf731a5875490ce58ff5.tar.gz
fix logging issues
Diffstat (limited to 'src/slskd/Relay/API/Hubs/RelayHub.cs')
-rw-r--r--src/slskd/Relay/API/Hubs/RelayHub.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs
index 6b091a39..885ba453 100644
--- a/src/slskd/Relay/API/Hubs/RelayHub.cs
+++ b/src/slskd/Relay/API/Hubs/RelayHub.cs
@@ -169,7 +169,7 @@ namespace slskd.Relay
throw new UnauthorizedAccessException();
}
- Log.Warning("Agent {Agent} (connection {ConnectionId}) from {IP} reported upload failure for {Id}: {Message}", id, exception.Message, RemoteIpAddress);
+ Log.Warning("Agent {Agent} (connection {ConnectionId}) from {IP} reported upload failure for {Id}: {Message}", record.Agent, Context.ConnectionId, RemoteIpAddress, id, exception.Message);
Relay.NotifyFileStreamException(id, exception);
}