Fix crash handler content processing code
This commit is contained in:
parent
5d16c3b862
commit
d3acaaf075
1 changed files with 5 additions and 1 deletions
|
@ -184,7 +184,11 @@ public final class CrashHandler {
|
|||
if (!content.isEmpty())
|
||||
content.append("\n");
|
||||
|
||||
if (map.get(key) instanceof String) {
|
||||
if (map.get(key) == null) {
|
||||
if (indentationSize == 0) content.append("\n");
|
||||
else content.append(" ".repeat(indentationSize)).append("-> ");
|
||||
content.append(key);
|
||||
} else if (map.get(key) instanceof String) {
|
||||
if (indentationSize == 0) content.append("\n");
|
||||
else content.append(" ".repeat(indentationSize)).append("-> ");
|
||||
content.append(key).append(": ").append(map.get(key));
|
||||
|
|
Loading…
Reference in a new issue