mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 22:04:07 +00:00
fix error message for non-existing database
This commit is contained in:
@@ -65,6 +65,8 @@ class NominatimV1:
|
||||
result = await self.api.status()
|
||||
|
||||
self.format_response(req, resp, result)
|
||||
if result.status and req.context.format == 'text':
|
||||
resp.status = 500
|
||||
|
||||
|
||||
def get_application(project_dir: Path,
|
||||
|
||||
Reference in New Issue
Block a user