feat: show whole stack trace in strings
This commit is contained in:
parent
536e9ef21e
commit
9828f9d267
2 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ object UpdaterModule : Module() {
|
|||
Unable to download the latest version of Revenge.
|
||||
This is usually caused by bad network connection.
|
||||
|
||||
Error: ${e.message ?: e.toString()}
|
||||
Error: ${e.message ?: e.stackTraceToString()}
|
||||
""".trimIndent()
|
||||
).setNegativeButton("Dismiss") { dialog, _ ->
|
||||
dialog.dismiss()
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ class BridgeModule : Module() {
|
|||
val ret = method(args).toNativeObject()
|
||||
mapOf("result" to ret)
|
||||
} catch (e: Throwable) {
|
||||
mapOf("error" to e.toString())
|
||||
mapOf("error" to e.stackTraceToString())
|
||||
}
|
||||
|
||||
private fun getBridgeCallData(hashMap: HashMap<String, Any?>): Pair<BridgeMethodCallback, BridgeMethodArgs>? {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue