mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Fail safe
This commit is contained in:
@@ -1005,6 +1005,9 @@ public class Log {
|
||||
}
|
||||
|
||||
static String formatThrowable(Throwable ex, String separator, boolean sanitize) {
|
||||
if (ex == null)
|
||||
return null;
|
||||
|
||||
if (sanitize) {
|
||||
if (ex instanceof MessageRemovedException)
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user