onaio / kaznet-web

a tasking application built on top of Onadata
Apache License 2.0
4 stars 1 forks source link

Return valid error when trying to edit a task without passing a location #353

Open DavisRayM opened 4 years ago

DavisRayM commented 4 years ago

Currently when trying to update a Task without passing a location_id the application returns an Internal server error status(500). This shouldn't be the case, a valid error message should be returned to the user of the API so they can handle the issue.

Screenshot 2019-11-12 at 09 42 33