diff options
Diffstat (limited to 'src/bin/sso/main.rs')
-rw-r--r-- | src/bin/sso/main.rs | 5 |
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() { |