We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7586d3 commit a00e346Copy full SHA for a00e346
aliyun-python-sdk-core/aliyunsdkcore/client.py
@@ -280,7 +280,7 @@ def do_action_with_exception(self, acs_request):
280
try:
281
body_obj = json.loads(body)
282
request_id = body_obj.get('RequestId')
283
- except ValueError or TypeError:
+ except ValueError or TypeError or AttributeError:
284
# in case the response body is not a json string, return the raw
285
# data instead
286
pass
0 commit comments