Fix NPE in EnvironmentCrashCategory during crash
All checks were successful
PRs & Pushes / test (push) Successful in 5m3s
PRs & Pushes / build-jars (push) Successful in 5m16s
PRs & Pushes / build-apidoc (push) Successful in 5m16s

This commit is contained in:
JeremyStar™ 2025-01-10 20:55:52 +01:00
parent 9781945d3a
commit f9fc1e8ccf
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -63,7 +63,7 @@ class EnvironmentCrashCategory private constructor() : CrashCategory {
throwable: Throwable?,
fatal: Boolean,
): LinkedHashMap<String, Any?> {
if (Environment.getOperatingSystem() == null)
if (Environment.getBitness() == null)
return linkedMapOf(
Pair("Not available.", null)
)