Skip to content

Commit

Permalink
Fix logging of error in MainReactPackage.getReactModuleInfoProvider() (
Browse files Browse the repository at this point in the history
…#41088)

Summary:
Pull Request resolved: #41088

This was probably caused by a copy paste, I'm fixing the log message to describe the proper class.

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: RSNara

Differential Revision: D50338296

fbshipit-source-id: 28657009ae7f9467d29eecd9b68c1f9541696350
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 19, 2023
1 parent 6f11334 commit fce0698
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,12 @@ public ReactModuleInfoProvider getReactModuleInfoProvider() {
return () -> reactModuleInfoMap;
} catch (InstantiationException e) {
throw new RuntimeException(
"No ReactModuleInfoProvider for CoreModulesPackage$$ReactModuleInfoProvider", e);
"No ReactModuleInfoProvider for com.facebook.react.shell.MainReactPackage$$ReactModuleInfoProvider",
e);
} catch (IllegalAccessException e) {
throw new RuntimeException(
"No ReactModuleInfoProvider for CoreModulesPackage$$ReactModuleInfoProvider", e);
"No ReactModuleInfoProvider for com.facebook.react.shell.MainReactPackage$$ReactModuleInfoProvider",
e);
}
}
}

0 comments on commit fce0698

Please sign in to comment.