add additional logging to diagnose 268245, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2004-11-13 18:49:05 +00:00
parent 0b8edec57d
commit a6c88daa1e

View File

@ -3529,6 +3529,12 @@ nsMsgLocalMailFolder::OnMessageClassified(const char *aMsgURI, nsMsgJunkStatus a
rv = copySvc->CopyMessages(this, messages, folder, PR_TRUE,
/*nsIMsgCopyServiceListener* listener*/ nsnull, nsnull, PR_FALSE /*allowUndo*/);
NS_ASSERTION(NS_SUCCEEDED(rv), "CopyMessages failed");
if (NS_FAILED(rv))
{
nsCAutoString logMsg("failed to copy junk messages to junk folder rv = ");
logMsg.AppendInt(rv, 16);
spamSettings->LogJunkString(logMsg.get());
}
}
}
}