| Index: tests/standalone/io/http_server_test.dart
|
| diff --git a/tests/standalone/io/http_server_test.dart b/tests/standalone/io/http_server_test.dart
|
| index 4724467b5f26d9fff2b338e0b940453068c0ed18..25f98614d3cae8216d546b19b4ff2daaae772cb8 100644
|
| --- a/tests/standalone/io/http_server_test.dart
|
| +++ b/tests/standalone/io/http_server_test.dart
|
| @@ -29,8 +29,11 @@ void testListenOn() {
|
| onDone();
|
| });
|
| })
|
| - .catchError((error) {
|
| - Expect.fail("Unexpected error in Http Client: $error");
|
| + .catchError((e) {
|
| + String msg = "Unexpected error in Http Client: $e";
|
| + var trace = getAttachedStackTrace(e);
|
| + if (trace != null) msg += "\nStackTrace: $trace";
|
| + Expect.fail(msg);
|
| });
|
| }
|
|
|
|
|