Skip to content

Commit

Permalink
Fix error handling in OAuth2 class
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Feb 5, 2024
1 parent 82542b1 commit 67140b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nbiatoolkit/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def request_new_access_token(self):
response = requests.post(token_url, data=data)
response.raise_for_status()
except requests.exceptions.HTTPError as err:
raise SystemExit(err)
raise err
else:
token_data = response.json()
self.set_token_data(token_data)
Expand Down

0 comments on commit 67140b7

Please sign in to comment.