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

Increase visibility of LinkedIn REST errors #30

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

geori
Copy link

@geori geori commented Jun 30, 2015

I had a hard time getting started with the linkedin-oauth2 gem because I couldn't see what errors LinkedIn was getting. Just seeing a 400 or 403 was too opaque for me, so I extended the raise_error class to throw specific errors on a 400 or a 403.

I hope that exposing the errors can save new users some trouble and allow them to quickly get their apps working.

geori added 4 commits June 30, 2015 17:01
… 403. The usage of Faraday was hiding the REST error messages from LinkedIn and it was difficult for me to debug my app. Exposing the errors should help others get their apps working.
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.

1 participant