Files
react-native/packages
Ruslan ShestopalyukandFacebook GitHub Bot 51faa1863f More robust handling of errors when trying to load JS bundle
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
2023-08-09 09:29:32 -07:00
..