From e4918ccb66ff74d88240396f11835dde45e0442b Mon Sep 17 00:00:00 2001 From: Zoheb Shaikh Date: Wed, 16 Oct 2024 23:23:44 +0100 Subject: [PATCH] raising exception to check why ci is not showing in coverage --- src/blueapi/client/rest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blueapi/client/rest.py b/src/blueapi/client/rest.py index 2edf3ec50..32d49e999 100644 --- a/src/blueapi/client/rest.py +++ b/src/blueapi/client/rest.py @@ -153,8 +153,8 @@ def _request_and_deserialize( if self._tokenHandler.refresh_auth_token(): access_token = self._tokenHandler.token["access_token"] headers["Authorization"] = f"Bearer {access_token}" - except Exception: - pass + except Exception as e: + raise Exception from e if data: response = requests.request(method, url, json=data, headers=headers) else: