Skip to content

How can I catch and handle a RequestError? #2321

Closed Answered by sindresorhus
anjasumma asked this question in Q&A
Discussion options

You must be logged in to vote

You are missing an await before the got() call.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anjasumma
Comment options

Answer selected by anjasumma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants