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: catch initial session #418

Merged
merged 1 commit into from Mar 29, 2023
Merged

fix: catch initial session #418

merged 1 commit into from Mar 29, 2023

Conversation

Vinzent03
Copy link
Collaborator

Coming from supabase/gotrue-dart#126 I'm catching all erros here. You can still use the initialSession as before, but if you are not using it, you don't get spammed with the error. Since using the stream in the next release is recomended, right?

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

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

Nice! I think the onAuthStateChanged will throw error here, but with #416 we should be good there as well!

@dshukertjr dshukertjr merged commit 83d51b2 into main Mar 29, 2023
1 of 2 checks passed
@dshukertjr dshukertjr deleted the fix/catch branch March 29, 2023 13:11
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.

None yet

2 participants