cga-harvard/cga-worldmap — comment on commit 811eaaa2e9a76f7f533d67ecc518bf252b2396e2
File: src/GeoNodePy/geonode/maps/views.py line 537
By dwins:

Should explicitly test whether the layer exists instead of simply blindly catching any exceptions. Also, maybe a 404 would be helpful for clients of this api when the layer does not exist.