From 45473762cb59ed4b4b357da87e5648f438f5c1e2 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 7 Jun 2025 17:31:59 +0300 Subject: [PATCH] add debug message --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index c66128c..468a06c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,6 +71,9 @@ async fn main() -> anyhow::Result<()> { total += infohashes.len(); for i in infohashes { if torrent_storage.as_ref().is_some_and(|s| !s.exists(&i)) { + if is_debug_i { + debug::info(format!("Resolve `{i}`...")); + } match session .add_torrent( librqbit::AddTorrent::from_url(format!(