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

Unified Diff: sdk/lib/_internal/dartdoc/bin/dartdoc.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: sdk/lib/_internal/dartdoc/bin/dartdoc.dart
diff --git a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart
index 72c5c327b3d45956beacd410e5ceeab8fab445e9..5551e3764ad250808177dae19bdd5c50948cc3d3 100644
--- a/sdk/lib/_internal/dartdoc/bin/dartdoc.dart
+++ b/sdk/lib/_internal/dartdoc/bin/dartdoc.dart
@@ -263,9 +263,8 @@ mainWithOptions(Options options) {
exit(1);
}
})
- .catchError((e) {
+ .catchError((e, trace) {
print('Error: generation failed: ${e}');
- var trace = getAttachedStackTrace(e);
if (trace != null) print("StackTrace: $trace");
dartdoc.cleanup();
exit(1);

Powered by Google App Engine
This is Rietveld 408576698