log a db error for inserting the notice
darcs-hash:20080926165029-5ed1f-60059ffeac9a39326fc6286faf4ac13c35127f25.gz
This commit is contained in:
parent
85c0d71e1f
commit
f951b91693
@ -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.');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user