Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Conversation

@silentworks
Copy link
Contributor

What kind of change does this PR introduce?

Better exception handling on signout

What is the current behavior?

Currently if you try to sign out after a user has been deleted an API error stating User is not found is raised.

What is the new behavior?

If you try to sign out after a user has been deleted no API error stating User is not found is raised, but other types of exception can still be raised.

Additional context

Add any other context or screenshots.

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (5155312) 45.67% compared to head (2d964ad) 45.68%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #342   +/-   ##
=======================================
  Coverage   45.67%   45.68%           
=======================================
  Files          23       23           
  Lines        1898     1902    +4     
=======================================
+ Hits          867      869    +2     
- Misses       1031     1033    +2     
Files Coverage Δ
gotrue/_async/gotrue_client.py 30.37% <16.66%> (+0.09%) ⬆️
gotrue/_sync/gotrue_client.py 30.37% <16.66%> (+0.09%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@anand2312 anand2312 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@silentworks silentworks merged commit 708859c into main Oct 5, 2023
@silentworks silentworks deleted the silentworks/sign-out-exception-handling branch October 5, 2023 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants