From f951b9169392b4a31f2b7eb4fb6eb37235ded8f8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 26 Sep 2008 12:50:29 -0400 Subject: [PATCH] log a db error for inserting the notice darcs-hash:20080926165029-5ed1f-60059ffeac9a39326fc6286faf4ac13c35127f25.gz --- classes/Notice.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/Notice.php b/classes/Notice.php index c60237ffb0..b9b1ac7188 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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.'); } -- 2.39.5