Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix various JSON input bugs in correction
By not having correct_json(json_str) in the try/except, it was still easily possible to throw Invalid JSON errors. When responses were received with no JSON at all, parsing would fail on attempting to locate the braces.
- Loading branch information