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

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: Address comment. 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
« no previous file with comments | « 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 df41c3b1feef249a9d908f92bd77b7ff9ac436fb..1d29041b76810c073c5d9220dc75af312e25d9eb 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -180,9 +180,8 @@ void main(List<String> args) {
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);
« no previous file with comments | « tools/testing/dart/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698