1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Issues 199 & 201

No fixes, just extra details in thrown Exceptions to try to track down
problems.
This commit is contained in:
Daniel Applebaum 2009-01-09 05:42:59 +00:00
parent 95c47fcddc
commit 1f9bf1ec50

View File

@ -363,9 +363,10 @@ public class ImapStore extends Store {
mPathDelimeter = nameResponses.get(0).getString(2);
}
}
List<ImapResponse> responses = mConnection.executeSimpleCommand(
String.format("SELECT \"%s\"",
encodeFolderName(getPrefixedName())));
String command = String.format("SELECT \"%s\"",
encodeFolderName(getPrefixedName()));
List<ImapResponse> responses = mConnection.executeSimpleCommand(command);
/*
* 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) {
throw new MessagingException(
"Did not find message count during select");
"Did not find message count with command '" + command + "'");
}
mExists = true;