Skip to content

Commit

Permalink
Add error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Oct 9, 2024
1 parent a913bd0 commit ccda7ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public boolean install() {
mNativeProxy.createCommitHook(uiManager);
}

long jsiRuntime = Objects.requireNonNull(getReactApplicationContext().getJavaScriptContextHolder()).get();
long jsiRuntime = Objects.requireNonNull(getReactApplicationContext().getJavaScriptContextHolder(), "[react-native-live-markdown] JavaScriptContextHolder is null").get();
injectJSIBindings(jsiRuntime);

return true;
Expand Down

0 comments on commit ccda7ac

Please sign in to comment.