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

Gplus needs better debugging output #3

Open
nfm opened this issue Jan 4, 2012 · 1 comment
Open

Gplus needs better debugging output #3

nfm opened this issue Jan 4, 2012 · 1 comment

Comments

@nfm
Copy link
Owner

nfm commented Jan 4, 2012

OAuth2 only raises OAuth2::Error exceptions. While this is the correct behavior (it's a general purpose tool and shouldn't have to know anything about specific Google+ errors), it makes debugging a real pain in Gplus.

Gplus needs to raise sensible, Google+ specific exceptions, including the error messages returned from Google+.

@tompata, you mentioned in #1 that "debugging is very difficult now". How are you currently debugging Gplus, and is it more difficult in 2.0.0? Would Gplus raising specific exceptions (instead of not catching OAuth2::Errors) be helpful?

@tompata
Copy link

tompata commented Jan 5, 2012

Hi @nfm,

i was debugging with OAuth2::Error exception details, for example exception.response.inspect

but it would be also useful if i could see (with a debug option) the URLs of the communication, and if error happened, the details of the error

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

No branches or pull requests

2 participants