]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better logging for confirm handler update
authorEvan Prodromou <evan@prodromou.name>
Thu, 4 Sep 2008 20:35:02 +0000 (16:35 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 4 Sep 2008 20:35:02 +0000 (16:35 -0400)
darcs-hash:20080904203502-84dde-b95f4c3564a0ccc8dbfec8da7e2ff5b8c57e1ed2.gz

scripts/xmppconfirmhandler.php

index 3906ac5ebc0c7c2094d0d0b0abeeffb8b1f886e8..d3b8ac85a955262fd96eb1263de5151e993e30c2 100755 (executable)
@@ -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;
                                        }