app controller: standardize api limit error handling.
* Refactor api_check to use render_error_page so that api limit errors get logged to New Relic for analysis. * Also standardize json error responses to return the error message in `message` instead of `reason`.
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
<h1>Too Many Requests</h1>
|
||||
<p>Please rate limit yourself</p>
|
||||
Reference in New Issue
Block a user