Skip to content

handle_response doesn't take into account the response code #31

@brendonlow

Description

@brendonlow

pandarus-0.7.0/lib/pandarus/remote_collection.rb:43

The response doesn't take into account response_code so error responses are being returned without any messaging as if valid data.

It should probably raise an error appropriate for the situation rather than passing through ‘unknown’ data to the virtus gem and having it raise an error due to the ‘unknown’ data being invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions