feat(api): enhance error handling with serde_path_to_error integration
Some checks failed
build / checks-build (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled
build / checks-matrix (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-10-08 15:35:41 +05:30
parent c18e92ff01
commit 160ca86da5
4 changed files with 51 additions and 13 deletions

View File

@@ -901,7 +901,7 @@ fn render_history_tab(f: &mut Frame, area: Rect, app: &App) {
.as_ref()
.map(|e| format!("S{:02}E{:02}", e.season_number, e.episode_number))
.unwrap_or_default();
let event = &h.event_type;
let event = h.event_type.as_deref().unwrap_or("Unknown");
let quality = h
.quality
.as_ref()
@@ -912,7 +912,7 @@ fn render_history_tab(f: &mut Frame, area: Rect, app: &App) {
Cell::from(date),
Cell::from(series),
Cell::from(episode),
Cell::from(event.as_str()),
Cell::from(event),
Cell::from(quality),
])
})