dart-pad icon indicating copy to clipboard operation
dart-pad copied to clipboard

Errors are not reported properly to the console

Open LewisHolliday opened this issue 11 months ago • 0 comments

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: https://github.com/dart-lang/dart-pad/issues/2742

LewisHolliday avatar Feb 27 '24 22:02 LewisHolliday