diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-12 06:49:34 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-12 06:49:34 -0500 |
commit | a845d06c77f17a5037e30d41db939f0ed3b5936e (patch) | |
tree | 8928e167196a287567f3ab55ce300ce3a363bac8 /index.php | |
parent | 616bdd43a921b2554d21b80af28ddb0fb6cb3c16 (diff) |
ignore no-data error, since we use it all the time
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. '. |