Index: pkg/barback/lib/src/asset_cascade.dart |
diff --git a/pkg/barback/lib/src/asset_cascade.dart b/pkg/barback/lib/src/asset_cascade.dart |
index cc9056012be4b7c2dd79ef0ca941970f889ef24e..f3765c1acdf8e5fc502be8fd85b6883fb74f2482 100644 |
--- a/pkg/barback/lib/src/asset_cascade.dart |
+++ b/pkg/barback/lib/src/asset_cascade.dart |
@@ -187,8 +187,8 @@ class AssetCascade { |
_loadingSources.remove(id); |
}).then((asset) { |
var controller = _sourceControllerMap[id].setAvailable(asset); |
- }).catchError((error) { |
- reportError(new AssetLoadException(id, error)); |
+ }).catchError((error, stack) { |
+ reportError(new AssetLoadException(id, error, stack)); |
// TODO(nweiz): propagate error information through asset nodes. |
_sourceControllerMap.remove(id).setRemoved(); |