Skip to content

getAuthUrl() not handling invalid URL #12

@keithjgrant

Description

@keithjgrant

Calling getAuthUrl() when given an invalid domain (https://foo.com) throws an error:

Unhandled promise rejection TypeError: "err.response is undefined, can't access property "status" of it"

Looks like this was introduced in 1.4.0 with the switch to axios

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