]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Status.php
Merge remote-tracking branch 'upstream/master'
[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;