Index: sdk/lib/io/data_transformer.dart |
diff --git a/sdk/lib/io/data_transformer.dart b/sdk/lib/io/data_transformer.dart |
index 69c9fd6d580218805c8e3b14bc3e322595e05fe7..4a4001d3c26aa2d6e8b6888e521ab14682ada4bd 100644 |
--- a/sdk/lib/io/data_transformer.dart |
+++ b/sdk/lib/io/data_transformer.dart |
@@ -51,7 +51,8 @@ class _FilterTransformer extends StreamEventTransformer<List<int>, List<int>> { |
} |
} catch (e, s) { |
_closed = true; |
- sink.addError(e, s); |
+ // TODO(floitsch): we are losing the stack trace. |
+ sink.addError(e); |
sink.close(); |
} |
} |
@@ -65,7 +66,8 @@ class _FilterTransformer extends StreamEventTransformer<List<int>, List<int>> { |
sink.add(out); |
} |
} catch (e, s) { |
- sink.addError(e, s); |
+ // TODO(floitsch): we are losing the stack trace. |
+ sink.addError(e); |
_closed = true; |
} |
if (!_closed) _filter.end(); |