RequestLimitExceeded errors from EC2 produce exceptions which don't str() or repr()

Bug #592424 reported by Steven Hazel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txAWS
New
Undecided
Unassigned

Bug Description

Here's the original XML response from EC2:

<?xml version="1.0"?>
<Response><Errors><Error><Code>RequestLimitExceeded</Code><Message>Request limit exceeded.</Message></Error></Errors><RequestID>xxx-xxx-xxx</RequestID></Response>

When that is returned, the resulting txaws.ec2.exception.EC2Error raises KeyError exceptions on both __str__ (where 'Message' is the missing key) and __repr__ (where it's 'Code').

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.