diff --git a/android/src/main/java/com/expensify/livemarkdown/LiveMarkdownModule.java b/android/src/main/java/com/expensify/livemarkdown/LiveMarkdownModule.java index 8d98a37f..5d0ca2d6 100644 --- a/android/src/main/java/com/expensify/livemarkdown/LiveMarkdownModule.java +++ b/android/src/main/java/com/expensify/livemarkdown/LiveMarkdownModule.java @@ -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;