better logging for confirm handler update

darcs-hash:20080904203502-84dde-b95f4c3564a0ccc8dbfec8da7e2ff5b8c57e1ed2.gz
This commit is contained in:
Evan Prodromou 2008-09-04 16:35:02 -04:00
parent fd7e30c83e
commit 64fa9034f5

View File

@ -71,7 +71,7 @@ class XmppConfirmHandler extends XmppQueueHandler {
$confirm->sent = $confirm->claimed;
$result = $confirm->update($original);
if (!$result) {
$this->log(LOG_ERR, 'Cannot mark sent for ' . $confirm->address);
common_log_db_error($confirm, 'UPDATE', __FILE__);
# Just let the claim age out; hopefully things work then
continue;
}