Fix error messages

trying to unrwap these values from an error result makes things go boom
This commit is contained in:
Grant Limberg 2023-01-12 14:10:39 -08:00
commit d527770102
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735

View file

@ -694,8 +694,7 @@ impl ZeroIDC {
} }
Err(res) => { Err(res) => {
println!("error result: {}", res); println!("error result: {}", res);
println!("hit url: {}", res.url().unwrap().as_str()); println!("hit url: {}", i.auth_endpoint.clone());
println!("Status: {}", res.status().unwrap());
println!("Post error: {}", res); println!("Post error: {}", res);
i.exp_time = 0; i.exp_time = 0;
i.running = false; i.running = false;