Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

JSON::ParserError #2

Open
pedro opened this issue Apr 12, 2012 · 2 comments
Open

JSON::ParserError #2

pedro opened this issue Apr 12, 2012 · 2 comments

Comments

@pedro
Copy link

pedro commented Apr 12, 2012

I noticed the gem will throw JSON::ParserError exceptions when the provider sends a bad response.

Should addons-client rescue this?

@glenngillen
Copy link
Contributor

It should, do you have an example? You shouldn't be getting any responses from the provider via the client yet.

On Apr 11, 2012, at 5:26 PM, Pedro Belo wrote:

I noticed the gem will throw JSON::ParserError exceptions when the provider sends a bad response.

Should addons-client rescue this?


Reply to this email directly or view it on GitHub:
#2

@pedro
Copy link
Author

pedro commented Apr 12, 2012

Here's a sample:

https://herokuapi.hoptoadapp.com/errors/40080065

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants