Skip to content

Commit 2a68181

Browse files
committed
fix system error printing
1 parent 5d82eaf commit 2a68181

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
@@ -25,7 +25,7 @@ public void uncaughtException(Thread thread, Throwable ex) {
2525
if (Runtime.isInitialized()) {
2626
try {
2727
if (Util.isDebuggableApp(context)) {
28-
ex.printStackTrace();
28+
System.err.println(errorMessage);
2929
}
3030

3131
Runtime runtime = Runtime.getCurrentRuntime();

0 commit comments

Comments
 (0)