mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: ## Changelog: [Internal] - When trying to load JS bundle, there were conditions under which it could just silently fail, not giving much to start with when troubleshooting. It was relying on Folly internals to handle the error, and depending on the context it could either throw an exception or just silently exit the process if exceptions are not enabled in Folly. This diff makes this error handling more explicit, with a clear error message in the log. Reviewed By: NickGerleman Differential Revision: D48147690 fbshipit-source-id: 1bb08ad17a880989e829c281fe25ee0d4a385d59