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(auth): URLError coercion for RetryableError causing session to be deleted #597

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

stephenth0ma5
Copy link
Contributor

What kind of change does this PR introduce?

Fixes the issue described in #596

What is the current behavior?

  • Only strictly URLError are retried or any error that directly conforms to RetryableError

What is the new behavior?

  • Any NSError or Error that conforms to URLError and is retryable will be retried along with any error that directly conforms to RetryableError

@grdsdev grdsdev changed the title Fixes url error coercion for RetryableError fix(auth): URL error coercion for RetryableError causing session to be deleted Nov 11, 2024
@grdsdev grdsdev changed the title fix(auth): URL error coercion for RetryableError causing session to be deleted fix(auth): URLError coercion for RetryableError causing session to be deleted Nov 11, 2024
@grdsdev grdsdev force-pushed the stephen/fix-url-error-coercion branch from 777b5b5 to 32022e1 Compare November 11, 2024 14:10
@grdsdev grdsdev merged commit d67b7cf into supabase:main Nov 12, 2024
22 checks passed
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.

2 participants