Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: parse JSON from GitHub error messages
BREAKING CHANGE: error.message is no longer a JSON string containing GitHub’s error message. Instead the JSON is parsed internally and error properties are assigned with its value. This is not technically a breaking change but a bug fix, but as this bug was around for a long time and plenty of apps depend on `JSON.parse(error.message)` to be working, we treat it as a breaking change by way of precaution
- Loading branch information