mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1bcd28636f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41342 While rewriting `Debugger.getScriptSource` messages to fetch code and source map over HTTP, we weren't checking the status code of the fetch calls. This diff fixes that and adds corresponding tests (as well as for the filesystem error case). Changelog: [Internal] Reviewed By: robhogan Differential Revision: D51013054 fbshipit-source-id: 58e7bb9fcd6a3cf92329b43fb8a139093c80d305