mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
add additional logging to diagnose 268245, sr=mscott
This commit is contained in:
parent
0b8edec57d
commit
a6c88daa1e
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user