-
Notifications
You must be signed in to change notification settings - Fork 4k
🐛 [firebase_core_web] is throwing an exception when running in debug mode and asking the IDE to catch all exceptions #11525
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
Comments
Thanks for the report @wer-mathurin |
@darshankawar that's my point, the latest solution identified in the ticket you referenced is not working as expected. Uncaught exception still bring us to the failing code ! But we can argue that relying on exception to detect undefined value in the configuration is not self explanatory. This is an easy PR to do and will make the code more.clear to me and solve this issue that is raised multiple time. Any thoughts? |
Thanks for the feedback @wer-mathurin |
Hey @wer-mathurin. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
@darshankawar maybe this is related. Can we let the ticket open until the hotfix land and see if this resolve the issue |
Ok, will keep it open for now. |
The hot fix mentioned by @darshankawar has landed in Flutter, @wer-mathurin (in Flutter version >= v3.13.4). Could you try it out and see if it addresses your issue? |
Hey @wer-mathurin. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @wer-mathurin if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Bug report
In production is not a problem, the exception is not preventing the application to crash...but when debuging code (in VS code) is very common to is very common to activate:

and you will get this error:

Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Run the app with device Chrome.
Expected behavior
Current code that interpreted as Uncaught Exceptions in VS Code and this look strange since this is catched!
But if we want to resolve this we can always do this:
The text was updated successfully, but these errors were encountered: