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

Unified Diff: tools/version.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 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') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/version.dart
diff --git a/tools/version.dart b/tools/version.dart
index eb10ac747074fde17375432d7e8a7c7d0c23fbd6..6972667c4a4e372709d916910f7de405a104d9bf 100644
--- a/tools/version.dart
+++ b/tools/version.dart
@@ -4,6 +4,7 @@
// BSD-style license that can be found in the LICENSE file.
import "dart:io";
+import "dart:async" show getAttachedStackTrace;
import "release/version.dart";
void main() {
@@ -14,6 +15,8 @@ void main() {
print(currentVersion);
}).catchError((e) {
print("Could not create version number, failed with: $e");
+ var trace = getAttachedStackTrace(e);
+ if (trace != null) print("StackTrace: $trace");
return true;
});
}
« no previous file with comments | « tools/testing/dart/utils.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698