From 0ebe5bc3cffa55d3dabe9a1482a2e5c819f64062 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Sun, 30 May 2021 17:14:58 +0200 Subject: [PATCH] Display session validation result --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c11623c..9b29d9d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -99,11 +99,12 @@ async fn login(opt: Opt, ignore: Gitignore) -> Result { .context("failed to load previous session") { Ok(ilias) => { - info!("checking session validity.."); + info!("Checking session validity.."); // TODO: this probably isn't the best solution.. if let Err(e) = ilias.get_html(DEFAULT_SYNC_URL).await { error!(e) } else { + success!("Session still active!"); return Ok(ilias) } },