fetch does not throw error with a malformed URL #17843
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
(Write your answer here.)
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.9.1
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.52.0 => 0.52.0
Steps to Reproduce
(Write your steps here:)
Expected Behavior
The error should be thrown in the Javascript so that it can be caught in the catch block
Actual Behavior
(Write what happened. Add screenshots!)
Reproducible Demo
The text was updated successfully, but these errors were encountered: