travis-ci/travis-api — pull request #74 by halorgium (2013-09-01 11:59:10+00:00)
Title: Use valid JSON for error responses

Currently, the error response is not valid JSON.
I haven't written a test as it is guarded behind the `Endpoint.production?` check.