Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f9bf1ec authored by Daniel Applebaum's avatar Daniel Applebaum
Browse files

Issues 199 & 201

No fixes, just extra details in thrown Exceptions to try to track down
problems.

parent 95c47fcd
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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;