| Index: sdk/lib/_internal/pub/lib/src/io.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/io.dart b/sdk/lib/_internal/pub/lib/src/io.dart
|
| index d27fe133bc2094abfc89db053d6052df654d625f..55827c1f63cb207b5ad642d943f2d3072687a3a6 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/io.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/io.dart
|
| @@ -463,7 +463,8 @@ Future store(Stream stream, EventSink sink,
|
| {bool cancelOnError: true, bool closeSink: true}) {
|
| var completer = new Completer();
|
| stream.listen(sink.add,
|
| - onError: (e) {
|
| + onError: (e, [stackTrace]) {
|
| + // TODO(floitsch): Sink.addError without stack trace.
|
| sink.addError(e);
|
| if (cancelOnError) {
|
| completer.complete();
|
|
|