Skip to content

4XX Level Responses Fail Silently #4

@derekdowling

Description

@derekdowling

If the response from httpGet returns a non-success status code (ie 401), the library fails silently and returns an empty JSON slice. It'd be great if non-success statuses could be made more evident in some manner, via panic, logging, or some other manner.

I'm uncertain of what your preferences or thoughts on this might be otherwise I'd present a solution to this.

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