Skip to content

Commit

Permalink
Simplify error output
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Aug 31, 2022
1 parent 4dd61db commit 82141ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MainActivity : ComponentActivity() {
"Got result from root: ${App.rootManager.use { it.execute(GetRoot()) }.value}"
} catch (e: Exception) {
e.printStackTrace()
"${e.message}\n${e.stackTraceToString()}"
e.stackTraceToString()
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp"
android:id="@android:id/text1"
tools:context=".MainActivity">
</TextView>
</TextView>

0 comments on commit 82141ef

Please sign in to comment.