Skip to content

Commit

Permalink
Merge pull request #135 from jayzhenghan/master
Browse files Browse the repository at this point in the history
change send_requset log level
  • Loading branch information
jayzhenghan authored Sep 7, 2020
2 parents 35118f2 + e4217e2 commit 69ccc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcloud_cos/cos_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def send_request(self, method, url, bucket, timeout=30, cos_request=True, **kwar
info['requestid'] = res.headers['x-cos-request-id']
if 'x-cos-trace-id' in res.headers:
info['traceid'] = res.headers['x-cos-trace-id']
logger.error(info)
logger.warn(info)
raise CosServiceError(method, info, res.status_code)
else:
msg = res.text
Expand Down

0 comments on commit 69ccc8f

Please sign in to comment.