feat: show whole stack trace in strings
This commit is contained in:
parent
9ef9156d7e
commit
4e9116f3f9
2 changed files with 2 additions and 2 deletions
|
|
@ -140,4 +140,4 @@ class UpdaterModule : Module() {
|
|||
error = null
|
||||
downloadScript(activity)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -156,7 +156,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