@@ -595,8 +595,7 @@ impl Client {
596 let response = self
596 let response = self
597 .request("stackTrace".to_owned(), to_value(args).ok(), true)
597 .request("stackTrace".to_owned(), to_value(args).ok(), true)
599− .unwrap();
598+ .await?.unwrap();
601 let body: StackTraceResponseBody = from_value(response.body.unwrap()).unwrap();
600 let body: StackTraceResponseBody = from_value(response.body.unwrap()).unwrap();
@@ -604,10 +603,7 @@ impl Client {
606 pub async fn threads(&mut self) -> Result<Vec<Thread>> {
605 pub async fn threads(&mut self) -> Result<Vec<Thread>> {
608− .request("threads".to_owned(), None, true)
606+ let response = self.request("threads".to_owned(), None, true).await?.unwrap();
612 let body: ThreadsResponseBody = from_value(response.body.unwrap()).unwrap();
608 let body: ThreadsResponseBody = from_value(response.body.unwrap()).unwrap();
@@ -619,8 +615,7 @@ impl Client {
620 let response = self
616 let response = self
621 .request("scopes".to_owned(), to_value(args).ok(), true)
617 .request("scopes".to_owned(), to_value(args).ok(), true)
623− .unwrap();
618+ .await?.unwrap();
625 let body: ScopesResponseBody = from_value(response.body.unwrap()).unwrap();
620 let body: ScopesResponseBody = from_value(response.body.unwrap()).unwrap();
@@ -638,8 +633,7 @@ impl Client {
639 let response = self
634 let response = self
640 .request("variables".to_owned(), to_value(args).ok(), true)
635 .request("variables".to_owned(), to_value(args).ok(), true)
642− .unwrap();
636+ .await?.unwrap();
644 let body: VariablesResponseBody = from_value(response.body.unwrap()).unwrap();
638 let body: VariablesResponseBody = from_value(response.body.unwrap()).unwrap();