Skip to content

fetch("aaa") has incorrect behavior #7436

@cancan101

Description

@cancan101

Unable to catch error thrown from fetch with invalid url. Instead I get a message about "unexpected url".

  • Provide a minimal code snippet / rnplay example that reproduces the bug.
try {
   fetch("aaa");
} catch (ex) { }
  • Provide screenshots where appropriate
    image
  • What's the version of React Native you're using?
    0.24.1
  • Does this occur on iOS, Android or both?
    Android
  • Are you using Mac, Linux or Windows?
    OS X

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions