Skip to content

Improve clarity of session exception handling in Client.create#1490

Open
yallalaraja wants to merge 1 commit into
supabase:mainfrom
yallalaraja:fix/session-exception-handling
Open

Improve clarity of session exception handling in Client.create#1490
yallalaraja wants to merge 1 commit into
supabase:mainfrom
yallalaraja:fix/session-exception-handling

Conversation

@yallalaraja
Copy link
Copy Markdown

This PR improves the exception handling in Client.create() by replacing a broad Exception catch with AuthError from the auth layer.

This ensures only authentication-related errors are handled silently while other unexpected errors are not hidden, improving code clarity and debugging.

No functional behavior has been changed.

@yallalaraja yallalaraja requested review from a team and o-santi as code owners May 18, 2026 12:02
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