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

Unified Diff: tools/version.dart

Issue 11817012: Migration of testing scripts in tools/ to libv2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« tools/testing/dart/test_suite.dart ('K') | « tools/testing/dart/test_suite.dart ('k') | no next file » | 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 8b70a29beb58bce84a5579a981fae55acc613366..2b2acb99e61839a59212336ab0aaf20085770670 100644
--- a/tools/version.dart
+++ b/tools/version.dart
@@ -12,8 +12,7 @@ void main() {
Future f = version.getVersion();
f.then((currentVersion) {
print(currentVersion);
- });
- f.handleException((e) {
+ }).catchError((e) {
print("Could not create version number, failed with: $e");
return true;
});
« tools/testing/dart/test_suite.dart ('K') | « tools/testing/dart/test_suite.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698