From 3d49d308c1e2d8c1020bdf27e75bb69cd20e2235 Mon Sep 17 00:00:00 2001 From: Alex Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:39:41 +0100 Subject: [PATCH] refactor(cable): more debug information for cable channels (#223) --- crates/television-channels/src/channels/cable.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/television-channels/src/channels/cable.rs b/crates/television-channels/src/channels/cable.rs index 14703e3..66a1afe 100644 --- a/crates/television-channels/src/channels/cable.rs +++ b/crates/television-channels/src/channels/cable.rs @@ -99,12 +99,14 @@ impl Channel { #[allow(clippy::unused_async)] async fn load_candidates(command: String, injector: Injector) { + debug!("Loading candidates from command: {:?}", command); let output = shell_command() .arg(command) .output() .expect("failed to execute process"); let decoded_output = String::from_utf8(output.stdout).unwrap(); + debug!("Decoded output: {:?}", decoded_output); for line in decoded_output.lines().collect::>() { if !line.trim().is_empty() {