X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8b1a509442a3fa051146f82b8293126916ad8617..3905dd68dd5b261449df7df243c594b25995d8bd:/lib-php/Status.php diff --git a/lib-php/Status.php b/lib-php/Status.php index 52abfcd0..4f1555cd 100644 --- a/lib-php/Status.php +++ b/lib-php/Status.php @@ -1,4 +1,12 @@ oDB->getOne($sSQL); if ($iDataDateEpoch === false) { - throw Exception('Data date query failed '.$iDataDateEpoch->getMessage(), 705); + throw new Exception('Import date is not available', 705); } return $iDataDateEpoch;