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

Unified Diff: utils/archive/entry.dart

Issue 11827017: Update remaining usages of Completer.completeException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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
« no previous file with comments | « tools/release/version.dart ('k') | utils/archive/input_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/entry.dart
diff --git a/utils/archive/entry.dart b/utils/archive/entry.dart
index 5d4381b6878498c25bde56ffae8fbd322927ffab..f89df03d27c0204b1721ed743277321e91b5154f 100644
--- a/utils/archive/entry.dart
+++ b/utils/archive/entry.dart
@@ -211,7 +211,7 @@ class ArchiveEntry {
var completer = new Completer<List<int>>();
stream.onData = () => buffer.addAll(stream.read());
- stream.onError = completer.completeException;
+ stream.onError = completer.completeError;
stream.onClosed = () => completer.complete(buffer);
return Futures.wait([call(CLONE, _id), completer.future])
« no previous file with comments | « tools/release/version.dart ('k') | utils/archive/input_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698