-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Response::RaiseOctokitError#error_message
The response may be decoded already. See issue #39 for a sample of this bug.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looks like the JSON attribute names are translated to string indexes rather than symbols. At least locally I need to change the above to
body["error"]
andbody["message"]
.Didn't want to race ahead and supply a patch as wasn't 100% sure that it's wasn't specific to the JSON library MultiJson has decided to use.