X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/be6262c6cedcba1f4041e66518facfdea79679a0..d5a1883b627147c2a0117fb2af3b8b1a7b07ca64:/lib-php/Status.php?ds=sidebyside diff --git a/lib-php/Status.php b/lib-php/Status.php index 52abfcd0..4a8f5592 100644 --- a/lib-php/Status.php +++ b/lib-php/Status.php @@ -37,7 +37,7 @@ class Status $iDataDateEpoch = $this->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;