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

Unified Diff: sdk/lib/async/stream_transformers.dart

Issue 1302363003: Forward stack traces through stream transformers. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream_transformers.dart
diff --git a/sdk/lib/async/stream_transformers.dart b/sdk/lib/async/stream_transformers.dart
index 0ed4117338172e065f79f3feb272ab3705611458..ea4aaf73a392fb1e6470453a00819ab5afef3025 100644
--- a/sdk/lib/async/stream_transformers.dart
+++ b/sdk/lib/async/stream_transformers.dart
@@ -250,7 +250,7 @@ class _StreamHandlerTransformer<S, T> extends _StreamSinkTransformer<S, T> {
/** Default error handler forwards all errors. */
static void _defaultHandleError(error, StackTrace stackTrace,
EventSink sink) {
- sink.addError(error);
+ sink.addError(error, stackTrace);
}
/** Default done handler forwards done. */
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698