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/API/Controllers | |
| parent | 41f818ee64fb677bb9756b9ff78b38864e05f69a (diff) | |
| download | slskd-45df497064a1dbfd6db2bf731a5875490ce58ff5.tar.gz | |
fix logging issues
Diffstat (limited to 'src/slskd/Relay/API/Controllers')
| -rw-r--r-- | src/slskd/Relay/API/Controllers/RelayController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index c11c33bc..d6f4f840 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -150,7 +150,7 @@ namespace slskd.Relay // caller is the same caller that received the request, and that the caller knows the shared secret. if (!Relay.TryValidateFileStreamResponseCredential(token: guid, agentName, filename, credential)) { - Log.Warning("Failed to authenticate file upload token {Token} from a caller claiming to be agent {Agent}", agentName); + Log.Warning("Failed to authenticate file upload token {Token} from a caller claiming to be agent {Agent}", guid, agentName); return Unauthorized(); } @@ -220,7 +220,7 @@ namespace slskd.Relay if (!Relay.TryValidateShareUploadCredential(token: guid, agentName, credential)) { - Log.Warning("Failed to authenticate share upload from caller claiming to be agent {Agent}"); + Log.Warning("Failed to authenticate share upload from caller claiming to be agent {Agent} using token {Token}", agentName, guid); return Unauthorized(); } |
