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

All exceptions seem to become a "Script Error." #2742

Closed
modulovalue opened this issue Dec 4, 2023 · 3 comments
Closed

All exceptions seem to become a "Script Error." #2742

modulovalue opened this issue Dec 4, 2023 · 3 comments
Labels
area-error-messaging closed-duplicate Closed in favor of an existing report type-ux A user experience or user interface related issue

Comments

@modulovalue
Copy link

Consider the following example:

void main() {
  throw 0;
}

If we use Safari to run it on DartPad we get:

Script error.
Screenshot 2023-12-04 at 02 37 26

If we use chrome we get the actual error:

Screenshot 2023-12-04 at 02 39 01

I think it would be very helpful if DartPad could show the actual error when running in Safari the way that it does when running in Chrome.

@johnpryan johnpryan added area-error-messaging type-ux A user experience or user interface related issue labels Jan 8, 2024
@modulovalue
Copy link
Author

This appears to longer be the case in the flutter rewrite of DartPad.

@modulovalue
Copy link
Author

Screenshot 2024-02-18 at 15 18 43

Well, now Chrome is also showing a Script error.

@modulovalue modulovalue changed the title [safari] All exceptions seem to become a "Script Error." All exceptions seem to become a "Script Error." Feb 18, 2024
@parlough
Copy link
Member

I'm going to consolidate this issue in to #3008 alongside other exception surfacing improvements. Thanks for the report and the details!

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2024
@parlough parlough added the closed-duplicate Closed in favor of an existing report label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-error-messaging closed-duplicate Closed in favor of an existing report type-ux A user experience or user interface related issue
Projects
None yet
Development

No branches or pull requests

3 participants