diff --git a/steamguard/src/accountlinker.rs b/steamguard/src/accountlinker.rs index 7511a33..de4f548 100644 --- a/steamguard/src/accountlinker.rs +++ b/steamguard/src/accountlinker.rs @@ -137,10 +137,7 @@ where let mut req = CTwoFactor_Status_Request::new(); req.set_steamid(account.steam_id); - let resp = self - .client - .query_status(req, self.tokens.access_token()) - .unwrap(); + let resp = self.client.query_status(req, self.tokens.access_token())?; Ok(resp.into_response_data()) }