Index: pkg/polymer/test/build/common.dart |
diff --git a/pkg/polymer/test/build/common.dart b/pkg/polymer/test/build/common.dart |
index 95a798e82243d0d3c4ee3ca0681914d12e75f900..496a9f15f3eefb5c4385f79f5b0ab38a48e7e368 100644 |
--- a/pkg/polymer/test/build/common.dart |
+++ b/pkg/polymer/test/build/common.dart |
@@ -46,7 +46,8 @@ class TestHelper implements PackageProvider { |
barback.updateTransformers(p, transformers); |
} |
errorSubscription = barback.errors.listen((e) { |
- var trace = getAttachedStackTrace(e); |
+ var trace = null; |
+ if (e is Error) trace = e.stackTrace; |
if (trace != null) { |
print(Trace.format(trace)); |
} |