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

Unified Diff: pkg/barback/lib/src/package_graph.dart

Issue 25094002: Adapt streams for additional stackTrace argument. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove types in closures. 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
« no previous file with comments | « no previous file | pkg/barback/lib/src/stream_replayer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/package_graph.dart
diff --git a/pkg/barback/lib/src/package_graph.dart b/pkg/barback/lib/src/package_graph.dart
index 2cd5b46b370e2eac2d4f8082c8859efcdf0d105e..1eedb3e8d70299fc8cd4cfd07bb36b5a7999ba20 100644
--- a/pkg/barback/lib/src/package_graph.dart
+++ b/pkg/barback/lib/src/package_graph.dart
@@ -83,9 +83,9 @@ class PackageGraph {
// errors, the result will automatically be considered a success.
_resultsController.add(new BuildResult(unionAll(
_cascadeResults.values.map((result) => result.errors))));
- }, onError: (error) {
+ }, onError: (error, [stackTrace]) {
_lastUnexpectedError = error;
- _resultsController.addError(error);
+ _resultsController.addError(error, stackTrace);
});
}
« no previous file with comments | « no previous file | pkg/barback/lib/src/stream_replayer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698