Separate timeout and connection dropped errors out (#30457)
This commit is contained in:
parent
39da72161f
commit
471e02d48f
25 changed files with 313 additions and 115 deletions
|
@ -139,7 +139,10 @@ impl ZedPredictModal {
|
|||
self.sign_in_status = SignInStatus::Waiting;
|
||||
|
||||
cx.spawn(async move |this, cx| {
|
||||
let result = client.authenticate_and_connect(true, &cx).await;
|
||||
let result = client
|
||||
.authenticate_and_connect(true, &cx)
|
||||
.await
|
||||
.into_response();
|
||||
|
||||
let status = match result {
|
||||
Ok(_) => SignInStatus::SignedIn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue