Exception parsing cleanup

This commit is contained in:
Anuken
2020-06-18 18:47:34 -04:00
parent fa2df57021
commit 31708b9af7
10 changed files with 22 additions and 14 deletions

View File

@@ -463,7 +463,7 @@ public class ContentParser{
if(t.getMessage() != null && t instanceof JsonParseException){
builder.append("[accent][[JsonParse][] ").append(":\n").append(t.getMessage());
}else if(t instanceof NullPointerException){
builder.append(Strings.parseException(t, true));
builder.append(Strings.neatError(t));
}else{
Seq<Throwable> causes = Strings.getCauses(t);
for(Throwable e : causes){