Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
response: parse: Include input JSON in Error, on JSON parsing errors
For example, when the input is `["header", :{"return_code":-77}}`, a parse error. The error is then as follows. ``` `parse': unexpected token at ':{"return_code":-77}}' (JSON::ParserError) ``` Include the input JSON in the error since the error does not include the full input JSON, making it difficult to debug.
- Loading branch information