Fix NPE in EnvironmentCrashCategory during crash
This commit is contained in:
parent
9781945d3a
commit
f9fc1e8ccf
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class EnvironmentCrashCategory private constructor() : CrashCategory {
|
||||||
throwable: Throwable?,
|
throwable: Throwable?,
|
||||||
fatal: Boolean,
|
fatal: Boolean,
|
||||||
): LinkedHashMap<String, Any?> {
|
): LinkedHashMap<String, Any?> {
|
||||||
if (Environment.getOperatingSystem() == null)
|
if (Environment.getBitness() == null)
|
||||||
return linkedMapOf(
|
return linkedMapOf(
|
||||||
Pair("Not available.", null)
|
Pair("Not available.", null)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue