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

Better error handling #147

Merged
merged 1 commit into from
Jul 27, 2024
Merged

Better error handling #147

merged 1 commit into from
Jul 27, 2024

Conversation

evert
Copy link
Collaborator

@evert evert commented Jul 26, 2024

More robust error handling. When an error is emitted, you now give you access to the emitted HTTP Response and response body.

Also, non-OAuth2 formatted errors were not handled nicely. This should make this a lot easier to handle.

Fixes #146

@evert evert added the enhancement New feature or request label Jul 26, 2024
@evert evert self-assigned this Jul 26, 2024
@evert evert merged commit a9b88ff into main Jul 27, 2024
5 checks passed
@evert evert deleted the better-error-handling branch July 27, 2024 01:01
@evert evert mentioned this pull request Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle non-oauth2 errors better
1 participant