forked from GNUsocial/gnu-social
hide most DB_DataObject errors
This commit is contained in:
parent
74a03cbe1f
commit
513f8be07a
@ -547,4 +547,9 @@ class Memcached_DataObject extends DB_DataObject
|
||||
{
|
||||
common_debug("debugDump: " . common_log_objstring($this));
|
||||
}
|
||||
|
||||
function raiseError($message, $type = null, $behaviour = null)
|
||||
{
|
||||
throw new ServerException("DB_DataObject error [$type]: $message");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user