On line 97, we're checking for the response status code:
if e.response.status_code:
Which appears to be present (or at least not None) for 4xx responses but not present for 5xx responses. A general exception where e.response is None should appropriately update the play state to ERR_FAILURE, to enable AGS resubmission.
On line 97, we're checking for the response status code:
Which appears to be present (or at least not
None) for 4xx responses but not present for 5xx responses. A general exception wheree.responseisNoneshould appropriately update the play state toERR_FAILURE, to enable AGS resubmission.