-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
await download() stuck when network connection fails #115
Comments
That looks like a bug. We don't call the Line 111 in 1c594cf
I guess we can pass back a special |
@sindresorhus Line 63 in 1c594cf
I‘ve done something like this and my problem is solved. |
yeah, you find another bug. |
Any plans to fix this bug 😅. I believe the same issue also will occur if you use cancel the download item. I manage to cancel the download, but the |
To ensure the function does not get stuck in this state, using a custom CancelError type.
If anyone wants to work on this, see the feedback in #142. |
why is #142 closed and not merget? |
start download promise will never finish, when network offline.
The text was updated successfully, but these errors were encountered: