diff --git a/aiogmaps/client.py b/aiogmaps/client.py index 098d780..99e5328 100644 --- a/aiogmaps/client.py +++ b/aiogmaps/client.py @@ -143,7 +143,7 @@ async def _request( async def _get_body(self, response): if response.status != 200: - raise googlemaps.exceptions.HTTPError(response.status_code) + raise googlemaps.exceptions.HTTPError(response.status) body = await response.json()