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. |