]> git.openstreetmap.org Git - nominatim.git/commit
better error reporting when API script does not exist
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 10 Nov 2021 08:42:49 +0000 (09:42 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 10 Nov 2021 10:58:20 +0000 (11:58 +0100)
commit345c812e4357087e1568f44e6e9d451e5ee6729a
treeb559104f39cb6159323912edd50a27e3f2d0c28b
parentd479a0585d6f1a661d70bfd7d8b6e374702a0f52
better error reporting when API script does not exist

Check if the API script exists on the expected location before
running php-cli. This way we can add a useful hint about the
project directory.

Fixes #2513.
nominatim/clicmd/api.py
test/python/test_cli.py