refactor: Improved error handling for the tail-logs subcommand to propagate errors up the stack instead of exiting there.

This commit is contained in:
2025-12-04 10:10:19 -07:00
parent a0073b65ad
commit 659023d561
3 changed files with 10 additions and 16 deletions
@@ -312,11 +312,7 @@ impl Network<'_, '_> {
Route::Sonarr(ActiveSonarrBlock::SeriesHistorySortPrompt, _)
);
let series_history = app
.data
.sonarr_data
.series_history
.get_or_insert_default();
let series_history = app.data.sonarr_data.series_history.get_or_insert_default();
if !is_sorting {
history_vec.sort_by(|a, b| a.id.cmp(&b.id));