mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
DebugInfo: include the crash exception if available.
This commit is contained in:
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…
Reference in New Issue
Block a user