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

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: Remove runAsync use. 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
« pkg/barback/lib/src/errors.dart ('K') | « tools/testing/dart/utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« pkg/barback/lib/src/errors.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