Skip to content


Browse files Browse the repository at this point in the history
Fix error message for DebugCorePackage.getModule IllegalArgumentExc… (#…


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:
[Android] [Fixed] - Fixed error message in DebugCorePackage.getModule

Pull Request resolved: #29304

Test Plan: No tests needed.

Reviewed By: RSNara

Differential Revision: D22521091

Pulled By: mdvacca

fbshipit-source-id: 19205f9beb0fc26249985ce2c865e284c4a4add1
  • Loading branch information
Marcel Lasaj authored and facebook-github-bot committed Jul 14, 2020
1 parent 9f3b608 commit a71f37b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ public NativeModule getModule(String name, ReactApplicationContext reactContext)
return new JSCHeapCapture(reactContext);
throw new IllegalArgumentException(
"In CoreModulesPackage, could not find Native module for " + name);
"In DebugCorePackage, could not find Native module for " + name);

Expand Down

0 comments on commit a71f37b

Please sign in to comment.