Skip to content

Commit

Permalink
fix(client): add a timeout and retry logic to oauth daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
sigaloid committed Sep 25, 2024
1 parent 33c876e commit da717c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oauth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ impl Oauth {
match attempt {
Ok(Some(oauth)) => {
info!("[✅] Successfully created OAuth client");
return oauth
},
return oauth;
}
Ok(None) => {
error!("Failed to create OAuth client. Retrying in 5 seconds...");
continue;
Expand Down

0 comments on commit da717c6

Please sign in to comment.