Merge: Nitweb errors
authorJean Privat <jean@pryen.org>
Thu, 25 Aug 2016 17:16:53 +0000 (13:16 -0400)
committerJean Privat <jean@pryen.org>
Thu, 25 Aug 2016 17:16:53 +0000 (13:16 -0400)
Better error handling for the nitweb API:

* the API catches all unmatched `/api/*` requests and display a JSON error. Example here: http://nitweb.moz-code.org/api/foo
* better error messages (in JSON) for all API handlers. One example here: http://nitweb.moz-code.org/api/entity/foo

Also one change in the frontend that displays 404 not found pages: http://nitweb.moz-code.org/foo

Pull-Request: #2289
Reviewed-by: Jean Privat <jean@pryen.org>


No differences found