Skip to content

Commit fde46da

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Reduce log level for NativeModuleRegistry.onBatchComplete
Summary: This diff reduces the log level for NativeModuleRegistry.onBatchComplete(), to track logs before throwing exceptions changelog: [internal] internal Reviewed By: makovkastar Differential Revision: D72999456
1 parent f2364ba commit fde46da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/NativeModuleRegistry.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void onBatchComplete() {
118118
// the search, and simply call OnBatchComplete on the UI Manager.
119119
// With Fabric, UIManager would no longer be a NativeModule, so this call would simply go away
120120
LegacyArchitectureLogger.assertLegacyArchitecture(
121-
"NativeModuleRegistry.onBatchComplete()", LegacyArchitectureLogLevel.ERROR);
121+
"NativeModuleRegistry.onBatchComplete()", LegacyArchitectureLogLevel.WARNING);
122122
ModuleHolder moduleHolder = mModules.get("UIManager");
123123
if (moduleHolder != null && moduleHolder.hasInstance()) {
124124
((OnBatchCompleteListener) moduleHolder.getModule()).onBatchComplete();

0 commit comments

Comments
 (0)