]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
log a db error for inserting the notice
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:50:29 +0000 (12:50 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:50:29 +0000 (12:50 -0400)
darcs-hash:20080926165029-5ed1f-60059ffeac9a39326fc6286faf4ac13c35127f25.gz

classes/Notice.php

index c60237ffb0b429647a60834b80c48f98d7d65989..b9b1ac718872d051aa40f4c42b00582e0dd811f0 100644 (file)
@@ -94,6 +94,7 @@ class Notice extends Memcached_DataObject
                $id = $notice->insert();
 
                if (!$id) {
+                       common_log_db_error($notice, 'INSERT', __FILE__);
                        return _('Problem saving notice.');
                }