From d527770102977aac49d9db42df8c5a7727c90f80 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 12 Jan 2023 14:10:39 -0800 Subject: [PATCH] Fix error messages trying to unrwap these values from an error result makes things go boom --- zeroidc/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zeroidc/src/lib.rs b/zeroidc/src/lib.rs index 74c371345..125118dd5 100644 --- a/zeroidc/src/lib.rs +++ b/zeroidc/src/lib.rs @@ -694,8 +694,7 @@ impl ZeroIDC { } Err(res) => { println!("error result: {}", res); - println!("hit url: {}", res.url().unwrap().as_str()); - println!("Status: {}", res.status().unwrap()); + println!("hit url: {}", i.auth_endpoint.clone()); println!("Post error: {}", res); i.exp_time = 0; i.running = false;