Browse Source

Fixed null errors

main
M66B 6 years ago
parent
commit
38df2f6d24
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      app/src/main/java/eu/faircode/email/Helper.java

+ 0
- 6
app/src/main/java/eu/faircode/email/Helper.java View File

@ -57,7 +57,6 @@ import java.util.concurrent.ThreadFactory;
import javax.mail.Address;
import javax.mail.AuthenticationFailedException;
import javax.mail.FolderClosedException;
import javax.mail.MessagingException;
import javax.mail.internet.InternetAddress;
@ -142,11 +141,6 @@ public class Helper {
}
static String formatThrowable(Throwable ex) {
if (ex instanceof FolderClosedException)
return null;
if (ex instanceof IllegalStateException)
return null;
StringBuilder sb = new StringBuilder();
sb.append(ex.getMessage() == null ? ex.getClass().getName() : ex.getMessage());
Throwable cause = ex.getCause();


Loading…
Cancel
Save