From a401c5202a96f4952d6b09892425f34bab36c11b Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Sun, 21 Jul 2024 16:36:08 +0200 Subject: [PATCH] feat: print error on console when request for private stats fail to help user. --- src/helper/xvb/priv_stats.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/helper/xvb/priv_stats.rs b/src/helper/xvb/priv_stats.rs index afae6a1..6d6df59 100644 --- a/src/helper/xvb/priv_stats.rs +++ b/src/helper/xvb/priv_stats.rs @@ -93,7 +93,10 @@ impl XvbPrivStats { ); output_console( &mut lock!(gui_api).output, - &format!("Failure to retrieve private stats from {}", XVB_URL), + &format!( + "Failure to retrieve private stats from {} because of this error: {}", + XVB_URL, err + ), ProcessName::Xvb, ); lock!(process).state = ProcessState::Retry;