-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
How to configure Sentry not to suppress the errors it sees #543
Comments
Thanks for raising the issue. This is already fixed in #533 I think it's already in the latest beta but it will be available in the next version. |
Great thanks for your reply, I see that ticket says to always fire the error - is there a way to make it optional as I think that's a useful feature for Flutter Web to have it configurable to be able to hide it from the dev console. |
Hi @ueman, I am using Beta 3 which appears to have the change in it but I can still see it suppress the console errors in Flutter Web. Can you confirm? |
Error are shown in the debug console (e.g. VS Code or IntelliJ). As far as I know they aren't shown in the browser which is the connected device. You probably should create an issue on the Flutter repo if you want that behavior. |
Somethings a picture just helps :-) Without Sentry I get this when I run the test application from Sentry_Flutter: When using 6.0.0-beta.3 I do not get anything in the Console of the browser (so there's no way to know an error occurred without watching for the envelope API requests or checking sentry.io). The request is to have both :-) |
Ah I see, yeah that looks like an bug. We'll check it out. |
+1 on this. Any updates on when this will be fixed? |
@ueman have you checked this out? I don't remember the outcome of this issue. |
This doesn't seem to be fixed, since the overridden
The default implementation for See
I think there were problems with the |
@ueman fair point but we always forward the call to the default handler
|
So the problem here is not the sentry-dart/dart/lib/src/default_integrations.dart Lines 36 to 42 in d235a79
But options.debug should be enabled.@ueman if there's no runZonedGuarded at all, Flutter only prints out to the console I believe? Maybe in this case, we should do something similar to presentError , which is calling debugPrint or debugPrintStack , so at least is shown?
|
That's a good question and I'm not really sure. I would believe, that without the |
Nope, we don't do anything, but I believe Flutter itself does something in case there's no |
When calling |
Hi,
I am starting with Flutter Sentry for Web and it is working but when an error occurs it suppresses the error from being shown on the console. Is there a way to log the error but all it to throw an exception as it would normally do?
Warm regards,
Zambet
The text was updated successfully, but these errors were encountered: