ignore no-data error, since we use it all the time

This commit is contained in:
Evan Prodromou 2009-02-12 06:49:34 -05:00
parent 616bdd43a9
commit a845d06c77

View File

@ -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. '.