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

Errors are not reported properly to the console #2876

Open
LewisHolliday opened this issue Feb 27, 2024 · 0 comments
Open

Errors are not reported properly to the console #2876

LewisHolliday opened this issue Feb 27, 2024 · 0 comments

Comments

@LewisHolliday
Copy link

https://dartpad.dev/

This does not print anything to the console on chrome or firefox:

void main() async {
  throw 'test';
}

This prints 'Script error.' on chrome, and on firefox prints 'Error: test, error: Error: test':

void main() {
  throw 'test';
}

Related issue: #2742

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

No branches or pull requests

1 participant