Bug 461029 Log POP errors to the PR_LOG module. r/sr=bienvenu
--- a/mailnews/local/src/nsPop3Protocol.cpp
+++ b/mailnews/local/src/nsPop3Protocol.cpp
@@ -1014,16 +1014,18 @@ nsPop3Protocol::WaitForResponse(nsIInput
PR_Free(line);
return(1); /* everything ok */
}
PRInt32
nsPop3Protocol::Error(PRInt32 err_code)
{
+ PR_LOG(POP3LOGMODULE, PR_LOG_ALWAYS, ("ERROR: %d", err_code));
+
// the error code is just the resource id for the error string...
// so print out that error message!
nsresult rv = NS_OK;
nsCOMPtr<nsIMsgMailNewsUrl> mailnewsUrl = do_QueryInterface(m_url, &rv);
// we handle POP3_TMP_DOWNLOAD_FAILED earlier...
if (err_code != POP3_TMP_DOWNLOAD_FAILED && NS_SUCCEEDED(rv))
{
nsCOMPtr<nsIMsgWindow> msgWindow;