Skip to content

Commit

Permalink
修复日志打印导致的流式失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
userpj committed Jan 15, 2025
1 parent 9a830a7 commit 2546741
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/core/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ def check_response_header(response: requests.Response):
"""
status_code = response.status_code
if status_code == requests.codes.ok:
logger.debug("request_id={} , http status code is {} , response text is {}".format(
__class__.response_request_id(response), status_code, response.text
))
return
message = "request_id={} , http status code is {}, body is {}".format(
__class__.response_request_id(response), status_code, response.text
Expand Down

0 comments on commit 2546741

Please sign in to comment.