DescriptionEnsure that exception message is printed.
This change improves the user experience for JS exceptions that pass through a Dart try-catch by making the Dart exception's toString() appear in the output.
There is one missing piece: all toplevel code needs to be wrapped in a try-catch that calls $toDartException. Otherwise users will continue to see JS exceptions at the command-line.
BUG=
TEST=
Patch Set 1 #Patch Set 2 : x #
Total comments: 2
Messages
Total messages: 2 (0 generated)
|