DebugInfo: include the crash exception if available.

pull/146/head
Tom Hacohen 4 years ago
parent e6c172e60b
commit 8006ad1196

@ -66,7 +66,7 @@ class DebugInfoActivity : BaseActivity(), LoaderManager.LoaderCallbacks<String>
fun onShare(item: MenuItem) {
ACRA.getErrorReporter().putCustomData("debug_info", report)
ACRA.getErrorReporter().handleException(null)
ACRA.getErrorReporter().handleException(intent.extras?.getSerializable(KEY_THROWABLE) as Throwable?)
ACRA.getErrorReporter().removeCustomData("debug_info")
}

Loading…
Cancel
Save