Skip to content

API errors handling is incorrect #1

Description

@olegwtf

There is no error object in JSON received from API, so I got python exception instead of correct exception: https://github.com/koty/python-stackpath/blob/master/stackpath/stackpath.py#L75-L77

This should be resp['status'] and resp['error']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions