From 15366b8345f916098f9fc5e96b72e0f3e5829a78 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu@web.de> Date: Mon, 16 Sep 2019 19:19:10 +0200 Subject: [PATCH] More debug logging --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 41c5810..203fc1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,6 +30,7 @@ async fn main() -> Result<(), Box> { .json(&hashmap!{ "username" => &trilium_user, "password" => &trilium_password }) .send().await.unwrap().json().await.unwrap(); let trilium_token = &resp["token"]; + println!("Acquired token: {}", trilium_token); println!("Init done!");