Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 1efa5e9

Browse files
committed
made sure error chain would correctly be passed with an exception
1 parent 734a814 commit 1efa5e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CloudFlare/cloudflare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ def _call(self, method, headers, parts,
461461
message = errors['error']
462462
else:
463463
message = ''
464-
if 'messages' in response_data:
465-
errors['error_chain'] = response_data['messages']
464+
##if 'messages' in response_data:
465+
## errors['error_chain'] = response_data['messages']
466466
if 'error_chain' in errors:
467467
error_chain = errors['error_chain']
468468
for error in error_chain:

0 commit comments

Comments
 (0)