Index: pkg/scheduled_test/lib/src/future_group.dart |
diff --git a/pkg/scheduled_test/lib/src/future_group.dart b/pkg/scheduled_test/lib/src/future_group.dart |
index 213f0fc4b555a84a9426f71e37712e6f4a2d6e8d..f1f64db746c98748d47768ee3bfd160bd1d9e256 100644 |
--- a/pkg/scheduled_test/lib/src/future_group.dart |
+++ b/pkg/scheduled_test/lib/src/future_group.dart |
@@ -34,11 +34,11 @@ class FutureGroup<T> { |
completed = true; |
_completer.complete(_values); |
} |
- }).catchError((e) { |
+ }).catchError((error) { |
if (completed) return; |
completed = true; |
- _completer.completeError(e.error, e.stackTrace); |
+ _completer.completeError(error); |
})); |
return task; |