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

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

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. 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 | « pkg/barback/lib/src/errors.dart ('k') | pkg/observe/lib/src/microtask.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/transform_node.dart
diff --git a/pkg/barback/lib/src/transform_node.dart b/pkg/barback/lib/src/transform_node.dart
index 1ef19198b1c654f5c5ee2d7847eb16627850a805..2a996914bc5670512abcdd86e9b44195c8510673 100644
--- a/pkg/barback/lib/src/transform_node.dart
+++ b/pkg/barback/lib/src/transform_node.dart
@@ -130,13 +130,13 @@ class TransformNode {
return phase.cascade.graph.transformPool
.withResource(() => transformer.apply(transform))
- .catchError((error) {
+ .catchError((error, stack) {
// If the transform became dirty while processing, ignore any errors from
// it.
if (_isDirty) return;
if (error is! MissingInputException) {
- error = new TransformerException(info, error);
+ error = new TransformerException(info, error, stack);
}
// Catch all transformer errors and pipe them to the results stream.
« no previous file with comments | « pkg/barback/lib/src/errors.dart ('k') | pkg/observe/lib/src/microtask.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698