We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v20.13.0
14.4.2
I have this simple script:
import got from "got"; await got("https://google.com", { signal: AbortSignal.timeout(1) }).catch((error) => console.log(error.name));
Obviously it times out immediately.
The log is AbortError
AbortError
...
Should be TimeoutError. When I do:
TimeoutError
await fetch("https://google.com", { signal: AbortSignal.timeout(1) }).catch((error) => console.log(error.name), );
It prints TimeoutError ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
v20.13.0
14.4.2
I have this simple script:
Obviously it times out immediately.
Actual behavior
The log is
AbortError
...
Expected behavior
Should be
TimeoutError
. When I do:It prints
TimeoutError
...
The text was updated successfully, but these errors were encountered: