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

Read body of error response #52

Closed
wants to merge 2 commits into from
Closed

Read body of error response #52

wants to merge 2 commits into from

Commits on Aug 20, 2021

  1. Read body of error response

    Previously a failing request to retrieve a request token or an access token with an unexpected status code was hard to debug, because additional information returned by the server in the body of the response was inaccessible to the user of this library.
    
    This patch changes that by including the body in the error message. Since the body is now read before the potential status code error is returned, but it is crucial information for debugging, we also include the status code in an error resulting from reading the body.
    fdcds committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    a9d0f36 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2021

  1. Fix typo

    fdcds committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    951c02e View commit details
    Browse the repository at this point in the history