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

Unified Diff: sdk/lib/io/data_transformer.dart

Issue 14113017: Fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | sdk/lib/io/secure_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698