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
fix: prevent dev server crashing on malformed URI (fix #6300) #6308
Conversation
would it be better to first try with
|
I think that makes sense too. Like some sort of |
@bluwy @patak-dev what do you think is best fallback or showing error message? |
Looking back now, I think showing an error message may be safer, since having a fallback might imply that we support it, which we might not. So using @toSayNothing Re
|
@bluwy 🤣i have debugged and found that : |
Nice observation @toSayNothing. That's an interesting behaviour from connect. It would sure be nice if it handles promises too, but for now this looks good to me. |
Description
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).when there is URIError, the dev server will crash because it didn't catch the error
reprodution : open url like http://localhost:3000/a%a