mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-19 20:21:45 -05:00
Issues 199 & 201
No fixes, just extra details in thrown Exceptions to try to track down problems.
This commit is contained in:
parent
95c47fcddc
commit
1f9bf1ec50
@ -363,9 +363,10 @@ public class ImapStore extends Store {
|
|||||||
mPathDelimeter = nameResponses.get(0).getString(2);
|
mPathDelimeter = nameResponses.get(0).getString(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
List<ImapResponse> responses = mConnection.executeSimpleCommand(
|
String command = String.format("SELECT \"%s\"",
|
||||||
String.format("SELECT \"%s\"",
|
encodeFolderName(getPrefixedName()));
|
||||||
encodeFolderName(getPrefixedName())));
|
|
||||||
|
List<ImapResponse> responses = mConnection.executeSimpleCommand(command);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If the command succeeds we expect the folder has been opened read-write
|
* If the command succeeds we expect the folder has been opened read-write
|
||||||
@ -389,7 +390,7 @@ public class ImapStore extends Store {
|
|||||||
|
|
||||||
if (mMessageCount == -1) {
|
if (mMessageCount == -1) {
|
||||||
throw new MessagingException(
|
throw new MessagingException(
|
||||||
"Did not find message count during select");
|
"Did not find message count with command '" + command + "'");
|
||||||
}
|
}
|
||||||
mExists = true;
|
mExists = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user