Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 24, 2025
1 parent f36d165 commit fa8bb3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions social_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,7 @@ def wrapper(*args, **kwargs):
return func(*args, **kwargs)
except requests.HTTPError as err:
social_logger.exception(
"Request failed with {status_code}: {message}".format(
status_code=err.response.status_code, message=err.response.text
)
f"Request failed with {err.response.status_code}: {err.response.text}"
)

if err.response.status_code == 400:
Expand Down

0 comments on commit fa8bb3c

Please sign in to comment.