diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 38d25477..d7b9ba34 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1153,7 +1153,15 @@ namespace slskd if (age.HasValue) { - Search.Prune(age.Value); + try + { + var pruned = Search.Prune(age.Value); + Log.Debug("Pruned {Count} search records", pruned); + } + catch + { + Log.Error("Encountered one or more errors while pruning searches"); + } } } |
