Open allthesignals opened 5 years ago
https://github.com/NYCPlanning/labs-zap-api/blob/2768a421aefc164f0bb1e6d4a6ab21ec8032ebe7/routes/projects/project.js#L39
This route generates a 404 when some exception gets thrown. 404 usually indicates that some route is missing, something went wrong in mapping a request URI to a route handler. Instead, this should throw 500.
https://github.com/NYCPlanning/labs-zap-api/blob/2768a421aefc164f0bb1e6d4a6ab21ec8032ebe7/routes/projects/project.js#L39
This route generates a 404 when some exception gets thrown. 404 usually indicates that some route is missing, something went wrong in mapping a request URI to a route handler. Instead, this should throw 500.