summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/sso/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/sso/main.rs b/src/bin/sso/main.rs
index 0043a1d..f447f10 100644
--- a/src/bin/sso/main.rs
+++ b/src/bin/sso/main.rs
@@ -284,7 +284,10 @@ fn main() -> Result<(), Box<dyn Error>> {
if command == Commands::Login || !profile.valid_access_token() {
if profile.valid_refresh_token() {
// Try a refresh...
- profile.refresh()?;
+ // Ignore any errors
+ if let Err(e) = profile.refresh() {
+ log::info!("Failed to refresh token: {}", e);
+ }
}
if !profile.valid_access_token() {