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.'); }