Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information