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

fix: Store actual error in AuthException #959

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

Vinzent03
Copy link
Collaborator

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

When e.g. an http response with status code 500 is received, anAuthRetryableFetchException` is thrown without contaning the actual error.

What is the new behavior?

I've added the message and statusCode to the constructor.

Additional context

#902

@Vinzent03 Vinzent03 changed the title fix: store actual error in AuthException fix: Store actual error in AuthException Jun 29, 2024
@dshukertjr dshukertjr merged commit aa6c218 into main Jul 1, 2024
9 of 10 checks passed
@dshukertjr dshukertjr deleted the fix/error-handling branch July 1, 2024 05:35
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.

3 participants