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

Unified Diff: utils/pub/oauth2.dart

Issue 11821012: Get more pub tests working. (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
Index: utils/pub/oauth2.dart
diff --git a/utils/pub/oauth2.dart b/utils/pub/oauth2.dart
index 331442dc578dad1715344ea5a7001f25cfe44fff..900abf6226024053a22c4e8fa288072dd5d6b234 100644
--- a/utils/pub/oauth2.dart
+++ b/utils/pub/oauth2.dart
@@ -81,7 +81,7 @@ Future withClient(SystemCache cache, Future fn(Client client)) {
} catch (e, stackTrace) {
// whenComplete will drop exceptions on the floor. We want to ensure
// that any programming errors here don't go un-noticed. See issue 4127.
- completer.completeException(e, stackTrace);
+ completer.completeError(e, stackTrace);
}
});
return completer.future;
« sdk/lib/async/future.dart ('K') | « utils/pub/io.dart ('k') | utils/pub/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698