micropub icon indicating copy to clipboard operation
micropub copied to clipboard

getAuthUrl() not handling invalid URL

Open keithjgrant opened this issue 7 years ago • 0 comments

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

keithjgrant avatar Sep 05 '18 16:09 keithjgrant