Index: pkg/polymer/lib/deploy.dart |
diff --git a/pkg/polymer/lib/deploy.dart b/pkg/polymer/lib/deploy.dart |
index 8278a167883b85f936b065d4241a53df18c95e31..b79c351dcc399e88baf931c652ae3f5746bf1219 100644 |
--- a/pkg/polymer/lib/deploy.dart |
+++ b/pkg/polymer/lib/deploy.dart |
@@ -94,8 +94,7 @@ String _findDirWithFile(String dir, String filename) { |
return dir; |
} |
-void _reportErrorAndExit(e) { |
- var trace = getAttachedStackTrace(e); |
+void _reportErrorAndExit(e, trace) { |
print('Uncaught error: $e'); |
if (trace != null) print(trace); |
exit(1); |