feat(api): enhance error handling with serde_path_to_error integration
This commit is contained in:
@@ -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),
|
||||
])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user