| Index: tests/standalone/io/file_test.dart
|
| diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart
|
| index a1a11737013e9b498944e93090440d0aad84c072..9ca0fe45504335479a7a81f5d88a7596186e0cc7 100644
|
| --- a/tests/standalone/io/file_test.dart
|
| +++ b/tests/standalone/io/file_test.dart
|
| @@ -152,10 +152,12 @@ class FileTest {
|
| }
|
| position += d.length;
|
| },
|
| - onError: (e) {
|
| + onError: (error) {
|
| print('Error on input in testReadWriteStreamLargeFile');
|
| - print('with error $e');
|
| - throw e;
|
| + print('with error $error');
|
| + var trace = getAttachedStackTrace(error);
|
| + if (trace != null) print("StackTrace: $trace");
|
| + throw error;
|
| },
|
| onDone: () {
|
| Expect.equals(expectedLength, position);
|
| @@ -167,6 +169,8 @@ class FileTest {
|
| .catchError((e) {
|
| print('Exception while deleting ReadWriteStreamLargeFile file');
|
| print('Exception $e');
|
| + var trace = getAttachedStackTrace(e);
|
| + if (trace != null) print("StackTrace: $trace");
|
| });
|
| });
|
| });
|
|
|