diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-09-06 18:50:13 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-09-06 18:50:13 -0500 |
| commit | 2fc88efd0f6f9499cca4108bffff68c507a03adb (patch) | |
| tree | 2b5245ec79a48d5d45f940a1543241f2ba428ece /src | |
| parent | db4de8aab6ee982e0195780e9b3ad69da0f19119 (diff) | |
| download | slskd-2fc88efd0f6f9499cca4108bffff68c507a03adb.tar.gz | |
fix logs
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Search/SearchService.cs | 4 |
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) { |
