mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix error message for DebugCorePackage.getModule IllegalArgumentExc… (#29304)
Summary: …eption This is a minor change in `DebugCorePackage.getModule()` method that corrects the `IllegalArgumentException`'s error message, which was probably copy-pasted from `CoreModulePackage`. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [Android] [Fixed] - Fixed error message in DebugCorePackage.getModule Pull Request resolved: https://github.com/facebook/react-native/pull/29304 Test Plan: No tests needed. Reviewed By: RSNara Differential Revision: D22521091 Pulled By: mdvacca fbshipit-source-id: 19205f9beb0fc26249985ce2c865e284c4a4add1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9f3b6082da
commit
a71f37b951
@@ -37,7 +37,7 @@ public class DebugCorePackage extends TurboReactPackage {
|
||||
return new JSCHeapCapture(reactContext);
|
||||
default:
|
||||
throw new IllegalArgumentException(
|
||||
"In CoreModulesPackage, could not find Native module for " + name);
|
||||
"In DebugCorePackage, could not find Native module for " + name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user