mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Throwable wrapper
This commit is contained in:
@@ -428,7 +428,7 @@ public class HtmlHelper {
|
||||
Log.e(ex);
|
||||
Document document = Document.createShell("");
|
||||
Element strong = document.createElement("strong");
|
||||
strong.text(android.util.Log.getStackTraceString(ex));
|
||||
strong.text(new ThrowableWrapper(ex).getSafeStackTraceString());
|
||||
document.body().appendChild(strong);
|
||||
return document;
|
||||
}
|
||||
@@ -442,7 +442,7 @@ public class HtmlHelper {
|
||||
Log.e(ex);
|
||||
Document document = Document.createShell("");
|
||||
Element strong = document.createElement("strong");
|
||||
strong.text(android.util.Log.getStackTraceString(ex));
|
||||
strong.text(new ThrowableWrapper(ex).getSafeStackTraceString());
|
||||
document.body().appendChild(strong);
|
||||
return document;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user