Describe the bug
When requesting not existing database table, API returns INTERNAL SERVER ERROR if used with postgis database and empty array for mongoDb
it should return NOT FOUND
To Reproduce
Steps to reproduce the behavior:
Run application
Send REST request to '/api/geodata/name_of_not_existing_table'
See error
Expected behavior
API should return error NOT FOUND
Describe the bug When requesting not existing database table, API returns INTERNAL SERVER ERROR if used with postgis database and empty array for mongoDb it should return NOT FOUND
To Reproduce Steps to reproduce the behavior:
Expected behavior API should return error NOT FOUND