aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-09-06 18:50:13 -0500
committerJP Dillingham <jp@dillingham.me>2025-09-06 18:50:13 -0500
commit2fc88efd0f6f9499cca4108bffff68c507a03adb (patch)
tree2b5245ec79a48d5d45f940a1543241f2ba428ece /src/slskd
parentdb4de8aab6ee982e0195780e9b3ad69da0f19119 (diff)
downloadslskd-2fc88efd0f6f9499cca4108bffff68c507a03adb.tar.gz
fix logs
Diffstat (limited to 'src/slskd')
-rw-r--r--src/slskd/Search/SearchService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs
index 920f7e54..37630f98 100644
--- a/src/slskd/Search/SearchService.cs
+++ b/src/slskd/Search/SearchService.cs
@@ -321,7 +321,7 @@ namespace slskd.Search
// a search that was actually cancelled by the user will meet the criteria below.
if (ex is OperationCanceledException && cancellationTokenSource.Token.IsCancellationRequested)
{
- Log.Information("Search for '{Query}' was cancelled");
+ Log.Information("Search for '{Query}' was cancelled", query);
search.State = SearchStates.Completed | SearchStates.Cancelled;
}
else
@@ -350,7 +350,7 @@ namespace slskd.Search
await SearchHub.BroadcastUpdateAsync(search with { Responses = [] });
Log.Debug("Search for '{Query}' finalized (id: {Id}): {Search}", query, id, search with { Responses = [] });
- Log.Information("Search for '{Query}' completed with {Responses} responses", search.ResponseCount);
+ Log.Information("Search for '{Query}' completed with {Responses} responses", query, search.ResponseCount);
}
catch (Exception ex)
{