Skip to content

Commit 9b4ebf1

Browse files
committed
fixed build error
1 parent abdec6f commit 9b4ebf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-app/app/src/main/java/com/tns/NativeScriptUncaughtExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void uncaughtException(Thread thread, Throwable ex) {
3131
Runtime runtime = Runtime.getCurrentRuntime();
3232

3333
if (runtime != null) {
34-
runtime.passUncaughtExceptionToJs(ex, ex.getMessage(), stackTraceErrorMessage);
34+
runtime.passUncaughtExceptionToJs(ex, ex.getMessage(), Runtime.getJSStackTrace(ex), stackTraceErrorMessage);
3535
}
3636
} catch (Throwable t) {
3737
if (Util.isDebuggableApp(context)) {

0 commit comments

Comments
 (0)