Skip to content

AGSService's submit_score_for_play needs to handle exceptions that don't include a response object #1771

Description

@clpetersonucf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThere's a bug.pythonPull requests that update python code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions