Closed kane-c closed 5 years ago
If the fetch fails (e.g. due to hostname resolution failure), the promise is not rejected until the 30 second timeout.
Wrapping this in a try/catch allows the promise to be rejected instantly.
Good catch! Thanks!
:tada: This PR is included in version 1.2.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Thanks @kane-c 🙌
If the fetch fails (e.g. due to hostname resolution failure), the promise is not rejected until the 30 second timeout.
Wrapping this in a try/catch allows the promise to be rejected instantly.