Fail safe

This commit is contained in:
M66B
2020-10-30 08:44:02 +01:00
parent 317e4cbfe9
commit fffb5b2dba

View File

@@ -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;