Skip to content

Commit

Permalink
made sure error chain would correctly be passed with an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Jan 15, 2020
1 parent 734a814 commit 1efa5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CloudFlare/cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ def _call(self, method, headers, parts,
message = errors['error']
else:
message = ''
if 'messages' in response_data:
errors['error_chain'] = response_data['messages']
##if 'messages' in response_data:
## errors['error_chain'] = response_data['messages']
if 'error_chain' in errors:
error_chain = errors['error_chain']
for error in error_chain:
Expand Down

0 comments on commit 1efa5e9

Please sign in to comment.