Skip to content

Commit a00e346

Browse files
authored
fix bug in issue aliyun#53
issue: aliyun#53
1 parent e7586d3 commit a00e346

File tree

1 file changed

+1
-1
lines changed
  • aliyun-python-sdk-core/aliyunsdkcore

1 file changed

+1
-1
lines changed

aliyun-python-sdk-core/aliyunsdkcore/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def do_action_with_exception(self, acs_request):
280280
try:
281281
body_obj = json.loads(body)
282282
request_id = body_obj.get('RequestId')
283-
except ValueError or TypeError:
283+
except ValueError or TypeError or AttributeError:
284284
# in case the response body is not a json string, return the raw
285285
# data instead
286286
pass

0 commit comments

Comments
 (0)