From 362abbdc95aebd72a2e0d4bfcbc85f6e07a165a3 Mon Sep 17 00:00:00 2001 From: Alexandre Pasmantier Date: Mon, 6 Jan 2025 13:36:15 +0100 Subject: [PATCH] refactor(cable): more debug information for cable channels --- 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() {