ignore no-data error, since we use it all the time
This commit is contained in:
parent
616bdd43a9
commit
a845d06c77
@ -38,6 +38,10 @@ function getPath($req)
|
||||
|
||||
function handleError($error)
|
||||
{
|
||||
if ($error->getCode() == DB_DATAOBJECT_ERROR_NODATA) {
|
||||
return;
|
||||
}
|
||||
|
||||
common_log(LOG_ERR, "PEAR error: " . $error->getMessage());
|
||||
$msg = sprintf(_('The database for %s isn\'t responding correctly, '.
|
||||
'so the site won\'t work properly. '.
|
||||
|
Loading…
Reference in New Issue
Block a user