Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put json in exceptions as messages, so they can be parsed without #eval #66

Closed
wants to merge 1 commit into from
Closed

put json in exceptions as messages, so they can be parsed without #eval #66

wants to merge 1 commit into from

Conversation

chazu
Copy link

@chazu chazu commented May 9, 2016

Per issue #63 , exceptions thrown after http requests will contain json strings rather than strings of ruby hash literals, allowing manipulation by client code without using eval.

@ianks
Copy link
Contributor

ianks commented May 12, 2016

Heads up, I just made a PR which does the same thing since I did not see this open 😞

Mine is slightly better since it has tests and removes a redundant JSON parse and generation.

#67

@chazu
Copy link
Author

chazu commented May 13, 2016

Roger that, i'll close this puppy. Thanks.

@chazu chazu closed this May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants