summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-06-03 13:04:08 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-06-03 13:04:08 +0200
commit29d212324514058b29f315d9297068b5a26b716a (patch)
tree5abda1d284c39a9c04438823c171990cf4d547fb
parent25af8a1197de6b3aecb1fd7273e573b05f8e0000 (diff)
Add more debug output
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/client.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.rs b/src/client.rs
index 7249098..bde7882 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -67,6 +67,7 @@ async fn main() -> Result<()> {
let mut output = std::io::stdout();
if response.get_ref().success {
+ log::debug!("Success");
response.get_ref()
.pathes
.iter()
@@ -74,6 +75,7 @@ async fn main() -> Result<()> {
.collect::<Result<Vec<_>>>()
.map(|_| ())
} else {
+ log::debug!("Failed");
Err(anyhow!("Failed to search"))
}
},