mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 04:45:50 +01:00
Proper UID FETCH errors
This commit is contained in:
@@ -3246,8 +3246,10 @@ class Core {
|
||||
for (Response response : responses)
|
||||
if (response.isBYE())
|
||||
return new MessagingException("UID FETCH", new IOException(response.toString()));
|
||||
else if (response.isNO() || response.isBAD())
|
||||
return new MessagingException(response.toString());
|
||||
else if (response.isNO())
|
||||
return new CommandFailedException(response);
|
||||
else if (response.isBAD())
|
||||
return new BadCommandException(response);
|
||||
return new MessagingException("UID FETCH failed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user