]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Status.php
remove language and partition from name import
[nominatim.git] / lib-php / Status.php
index 52abfcd04916d038f0e95fcfeec9039acb88e3d1..4a8f559226ca669b1c0c5b883c7d5be07daf6ca6 100644 (file)
@@ -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;