зеркало из https://github.com/mozilla/pjs.git
add additional logging to diagnose 268245, sr=mscott
This commit is contained in:
Родитель
b43f3681fb
Коммит
c47b3639d4
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче