Skip to content

Commit

Permalink
fix parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwowen committed Jul 18, 2024
1 parent ab7f7b7 commit b9b1c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-board/deploy_board/webapp/helpers/base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def api(path, token=None, params=None, data=None):
"assistance. " + response.text)

if response.status_code == 403:
raise NotAuthorizedException(UNAUTHORIZED_ERROR_TEXT, response.text)
raise NotAuthorizedException(f'{UNAUTHORIZED_ERROR_TEXT}: {response.text}')

if response.status_code == 400 or response.status_code == 422:
raise IllegalArgumentException(response.text)
Expand Down

0 comments on commit b9b1c17

Please sign in to comment.