diff options
Diffstat (limited to 'src/select/selection_file/display.rs')
-rw-r--r-- | src/select/selection_file/display.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/select/selection_file/display.rs b/src/select/selection_file/display.rs index 8ff6a15..0714015 100644 --- a/src/select/selection_file/display.rs +++ b/src/select/selection_file/display.rs @@ -10,7 +10,7 @@ use std::fmt::Write; -use anyhow::Result; +use anyhow::{Context, Result}; use chrono::DateTime; use log::debug; @@ -31,7 +31,8 @@ impl Video { let mut f = String::new(); let opts = get_video_opts(app, &self.extractor_hash) - .await? + .await + .with_context(|| format!("Failed to get video options for video: '{}'", self.title))? .to_cli_flags(app); let opts_white = if !opts.is_empty() { " " } else { "" }; |