Skip to content

Commit af0e6cd

Browse files
rickhanloniifacebook-github-bot
authored andcommitted
Fix error reporting for module errors (#34650)
Summary: Addresses some of #34649 ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [General] [Fixed] - Error reporting for module errors Pull Request resolved: #34650 Test Plan: ### Before <img width="1728" alt="Screen Shot 2022-09-08 at 10 01 17 AM" src="https://user-images.githubusercontent.com/2440089/189425932-783b857d-59d3-4979-aecc-3de9d5bc6b0a.png"> ### After <img width="1728" alt="Screen Shot 2022-09-09 at 2 35 13 PM" src="https://user-images.githubusercontent.com/2440089/189425885-112130f4-aebd-4d84-b6c4-19b4dbb907e8.png"> Reviewed By: mdvacca Differential Revision: D39395369 Pulled By: rickhanlonii fbshipit-source-id: f60882e0fefbd3eb8481d251556afe5cda60c034
1 parent 45db65b commit af0e6cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Libraries/Core/InitializeCore.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ if (__DEV__) {
4343
require('../LogBox/LogBox').install();
4444
}
4545

46+
require('../ReactNative/AppRegistry');
47+
4648
const GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');
4749
// We could just call GlobalPerformanceLogger.markPoint at the top of the file,
4850
// but then we'd be excluding the time it took to require the logger.

0 commit comments

Comments
 (0)