Skip to content

Commit 82141ef

Browse files
committed
Simplify error output
1 parent 4dd61db commit 82141ef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/src/main/java/be/mygod/librootkotlinx/demo/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MainActivity : ComponentActivity() {
2222
"Got result from root: ${App.rootManager.use { it.execute(GetRoot()) }.value}"
2323
} catch (e: Exception) {
2424
e.printStackTrace()
25-
"${e.message}\n${e.stackTraceToString()}"
25+
e.stackTraceToString()
2626
}
2727
}
2828
}

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6+
android:padding="16dp"
67
android:id="@android:id/text1"
78
tools:context=".MainActivity">
8-
</TextView>
9+
</TextView>

0 commit comments

Comments
 (0)