pull/53/head
kunfei 5 years ago
parent f41663e53a
commit cbe09c1f0b
  1. 4
      app/src/main/java/io/legado/app/help/CrashHandler.kt

@ -103,7 +103,9 @@ class CrashHandler : Thread.UncaughtExceptionHandler {
kotlin.runCatching { kotlin.runCatching {
for (field in fields) { for (field in fields) {
field.isAccessible = true field.isAccessible = true
paramsMap[field.name] = field.get(null).toString() field.get(null)?.toString()?.let {
paramsMap[field.name] = it
}
} }
} }
} }

Loading…
Cancel
Save