Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: utils/apidoc/apidoc.dart

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/apidoc/apidoc.dart
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
index fe4e617b5be906f53d59124ee7fbc0becc4878b9..2f5f72d9603437e1d55d1a70f4caa1cea812757f 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -182,9 +182,8 @@ void main() {
packageRoot))
.then((_) => compileScript(mode, outputDir, libPath, apidoc.tmpPath))
.then((_) => print(apidoc.status))
- .catchError((e) {
+ .catchError((e, trace) {
print('Error: generation failed: ${e}');
- var trace = getAttachedStackTrace(e);
if (trace != null) print("StackTrace: $trace");
apidoc.cleanup();
exit(1);
« tests/standalone/io/http_content_length_test.dart ('K') | « tools/testing/dart/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698