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

Unified Diff: pkg/scheduled_test/lib/scheduled_process.dart

Issue 25094002: Adapt streams for additional stackTrace argument. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 2 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
Index: pkg/scheduled_test/lib/scheduled_process.dart
diff --git a/pkg/scheduled_test/lib/scheduled_process.dart b/pkg/scheduled_test/lib/scheduled_process.dart
index b0ceaa33f6a7a5e535d224db184936f951c050b2..50ff5f721dfbd292a30e5557f33dfb473090bb20 100644
--- a/pkg/scheduled_test/lib/scheduled_process.dart
+++ b/pkg/scheduled_test/lib/scheduled_process.dart
@@ -198,7 +198,7 @@ class ScheduledProcess {
Pair<Stream<String>, StreamCanceller> _lineStreamWithCanceller(
Future<Stream<List<int>>> streamFuture) {
return streamWithCanceller(futureStream(streamFuture)
- .handleError((e) => currentSchedule.signalError(e))
+ .handleError(currentSchedule.signalError)
.map((chunk) {
// Whenever the process produces any sort of output, reset the schedule's
// timer.

Powered by Google App Engine
This is Rietveld 408576698