refactor: Improved error handling for the tail-logs subcommand to propagate errors up the stack instead of exiting there.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user