From 47817c4166937af24041a93e56ad9f841bf1e8f1 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Wed, 8 May 2024 14:15:42 -0400 Subject: fixups: memes working --- src/util.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/util.rs') diff --git a/src/util.rs b/src/util.rs index d59c4da..0fd746b 100644 --- a/src/util.rs +++ b/src/util.rs @@ -120,7 +120,14 @@ pub async fn ytdl_url(uri: &str) -> Result { uri, ]; - let out = Command::new(&*YTDL_COMMAND).args(&args).stdin(Stdio::null()).output().await?; + debug!("downloading info for uri: {uri}"); + + let mut command = Command::new(&*YTDL_COMMAND); + command.args(&args).stdin(Stdio::null()); + + debug!("running command: {command:?}"); + + let out = command.output().await?; if !out.status.success() { return Err(anyhow::anyhow!("running ytdl: {out:?}")); -- cgit v1.3.1