Skip to content

Commit 3d31ab8

Browse files
authored
Avoid printing out "error" in tolerated status code message (#100)
1 parent e742fc3 commit 3d31ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tap_github/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ def validate_response(self, response: requests.Response) -> None:
173173
full_path = urlparse(response.url).path
174174
if response.status_code in self.tolerated_http_errors:
175175
msg = (
176-
f"{response.status_code} Tolerated Status Code: "
177-
f"{str(response.content)} (Reason: {response.reason}) for path: {full_path}"
176+
f"{response.status_code} Tolerated Status Code "
177+
f"(Reason: {response.reason}) for path: {full_path}"
178178
)
179179
self.logger.info(msg)
180180
return

0 commit comments

Comments
 (0)