Index: utils/pub/utils.dart |
diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart |
index 40978856147a4cff7296af28aeca2a7435fdb1c4..21079f62ba86df7297c130806d064e681c68322b 100644 |
--- a/utils/pub/utils.dart |
+++ b/utils/pub/utils.dart |
@@ -134,7 +134,7 @@ Future sleep(int milliSeconds) { |
/// to [completer]. |
void chainToCompleter(Future future, Completer completer) { |
future.handleException((e) { |
- completer.completeException(e); |
+ completer.completeException(e, future.stackTrace); |
return true; |
}); |
future.then(completer.complete); |