Skip to content

Commit

Permalink
fix: OAuth2Error logged as exception (traceback)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitriy <[email protected]>
  • Loading branch information
felicijus and dimastbk authored Oct 5, 2024
1 parent ecdeb2b commit e768cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzeebe/credentials/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def retrieve_token(self) -> None:
self._func_retrieve_token()

except oauth2.OAuth2Error as e:
logger.error(str(e))
logger.exception(str(e))
raise e

def _no_expiration(self, r: requests.Response) -> requests.Response:
Expand Down

0 comments on commit e768cc5

Please sign in to comment.