Refactoring

This commit is contained in:
M66B
2024-02-21 21:19:17 +01:00
parent cdfc7bb436
commit 7625d6083e
3 changed files with 3 additions and 4 deletions

View File

@@ -1758,6 +1758,9 @@ public class Log {
ex.getCause() instanceof UnknownHostException)
ex = new Throwable("Email server address lookup failed", ex);
if (ConnectionHelper.isAborted(ex))
ex = new Throwable("The server or network actively disconnected the connection", ex);
StringBuilder sb = new StringBuilder();
if (BuildConfig.DEBUG)
sb.append(new ThrowableWrapper(ex).toSafeString());