Skip to content

Commit

Permalink
raising exception to check why ci is not showing in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ZohebShaikh committed Oct 16, 2024
1 parent ddb98c6 commit e4918cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blueapi/client/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 157 in src/blueapi/client/rest.py

View check run for this annotation

Codecov / codecov/patch

src/blueapi/client/rest.py#L148-L157

Added lines #L148 - L157 were not covered by tests
if data:
response = requests.request(method, url, json=data, headers=headers)
else:
Expand Down

0 comments on commit e4918cc

Please sign in to comment.