Wrap throwables

This commit is contained in:
M66B
2023-12-11 22:04:19 +01:00
parent 37e145a9d6
commit c4a1384232
13 changed files with 87 additions and 26 deletions

View File

@@ -5567,12 +5567,12 @@ public class MessageHelper {
getStructure(multipart.getBodyPart(i), ssb, level + 1, textColorLink);
} catch (Throwable ex) {
Log.w(ex);
ssb.append(ex.toString()).append('\n');
ssb.append(new ThrowableWrapper(ex).toSafeString()).append('\n');
}
}
} catch (Throwable ex) {
Log.w(ex);
ssb.append(ex.toString()).append('\n');
ssb.append(new ThrowableWrapper(ex).toSafeString()).append('\n');
}
}