Skip to content

Commit

Permalink
Merge pull request #156 from reformy/error-details
Browse files Browse the repository at this point in the history
  • Loading branch information
licht1stein authored Feb 13, 2024
2 parents dc6f59a + 0056afd commit 0032c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzoom/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _oauth_request(headers, data):

if response.status_code == 200:
return response.json()
raise err.APIError("Failed to refresh tokens")
raise err.APIError(f"Failed to refresh tokens: {response.status_code} {response.text}")


def refresh_tokens(client_id: str, client_secret: str, refresh_token: str):
Expand Down

0 comments on commit 0032c94

Please sign in to comment.