De-emphasized IMAP error when connection to Yahoo!: Closes #5145

The message is benign, but useful for developers.  Reduced urgency
of message from message() to debug() and changed wording to soothe
users' fears.
This commit is contained in:
Jim Nelson 2012-05-02 15:44:23 -07:00
parent b5d78fa795
commit bf6bd4caeb
2 changed files with 8 additions and 1 deletions

View file

@ -92,6 +92,7 @@ class ImapConsole : Gtk.Window {
"exit",
"quit",
"gmail",
"yahoo",
"keepalive",
"status",
"preview",
@ -189,6 +190,12 @@ class ImapConsole : Gtk.Window {
connect_cmd("connect", fake_args);
break;
case "yahoo":
string[] fake_args = new string[1];
fake_args[0] = "imap.mail.yahoo.com:993";
connect_cmd("connect", fake_args);
break;
case "keepalive":
keepalive(cmd, args);
break;

View file

@ -118,7 +118,7 @@ public class Geary.Imap.SelectExamineResults : Geary.Imap.CommandResults {
break;
}
} catch (ImapError ierr) {
message("SELECT/EXAMINE decode error for \"%s\": %s", data.to_string(), ierr.message);
debug("SELECT/EXAMINE: unable to decode \"%s\", ignored: %s", data.to_string(), ierr.message);
}
}