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

Firebase Exceptions are swallowed in coroutines #70

Open
grodin opened this issue Mar 16, 2022 · 1 comment
Open

Firebase Exceptions are swallowed in coroutines #70

grodin opened this issue Mar 16, 2022 · 1 comment
Labels
bug Something isn't working needs investigation

Comments

@grodin
Copy link
Collaborator

grodin commented Mar 16, 2022

Exceptions that are returned in onCompletion callbacks from Tasks are not being thrown from within coroutines and thus not being caught in runSuspendCatching.

I don't know whether this is a problem with runSuspendCatching or a misuse/misunderstanding of coroutines.

@grodin
Copy link
Collaborator Author

grodin commented Mar 23, 2022

I'm not convinced this is actually happening. Adding logging showed that instead the problem was that the UI layer simply wasn't laid out to show errors.

Leaving open for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant