mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 03:43:55 +01:00
Consider command failed as unrecoverable
This commit is contained in:
@@ -19,6 +19,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.core.app.NotificationCompat;
|
||||
import androidx.preference.PreferenceManager;
|
||||
|
||||
import com.sun.mail.iap.CommandFailedException;
|
||||
import com.sun.mail.iap.ConnectionException;
|
||||
import com.sun.mail.iap.Response;
|
||||
import com.sun.mail.imap.AppendUID;
|
||||
@@ -240,7 +241,8 @@ class Core {
|
||||
if (ex instanceof OutOfMemoryError ||
|
||||
ex instanceof MessageRemovedException ||
|
||||
ex instanceof FolderNotFoundException ||
|
||||
ex instanceof IllegalArgumentException) {
|
||||
ex instanceof IllegalArgumentException ||
|
||||
ex.getCause() instanceof CommandFailedException) {
|
||||
Log.w("Unrecoverable");
|
||||
|
||||
// There is no use in repeating
|
||||
|
||||
Reference in New Issue
Block a user