diff --git a/pyproject.toml b/pyproject.toml index 527dad7e..31840e0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.14.1" + version = "5.14.2" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/stars/api_auth_login_osu.py b/royalpack/stars/api_auth_login_osu.py index 4d6d0594..3c1c248f 100644 --- a/royalpack/stars/api_auth_login_osu.py +++ b/royalpack/stars/api_auth_login_osu.py @@ -65,7 +65,8 @@ class ApiAuthLoginOsuStar(rca.ApiStar): client_secret=self.client_secret, redirect_uri=f"{self.base_url}{self.path}", refresh_code=code) - except aiohttp.client_exceptions.ClientResponseError: + except aiohttp.client_exceptions.ClientResponseError as e: + ru.sentry_exc(e) raise rca.ForbiddenError("osu! API returned an error in the OAuth token exchange") async with aiohttp.ClientSession(headers={"Authorization": f"Bearer {t['access_token']}"}) as session: