Skip to content

Commit

Permalink
revert: "Log the body of taskcluster errors"
Browse files Browse the repository at this point in the history
Refs: 4f364e6
Issue: #400
  • Loading branch information
ahal committed Dec 20, 2023
1 parent 9d78b74 commit e8eae6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taskgraph/util/taskcluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _do_request(url, method=None, **kwargs):
if response.status_code >= 400:
# Consume content before raise_for_status, so that the connection can be
# reused.
logger.warning("response body: %s", response.text)
response.content
response.raise_for_status()
return response

Expand Down

0 comments on commit e8eae6b

Please sign in to comment.