dart-pad
dart-pad copied to clipboard
Errors are not reported properly to the console
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