Index: pkg/polymer/lib/deploy.dart |
diff --git a/pkg/polymer/lib/deploy.dart b/pkg/polymer/lib/deploy.dart |
index 13ed25cd7e09ddd42ceb5658148b5864b99af560..3dc5a2b7cb356312dd9ff700a54bb16056e25baf 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); |