| Index: pkg/http/lib/src/utils.dart
|
| diff --git a/pkg/http/lib/src/utils.dart b/pkg/http/lib/src/utils.dart
|
| index 25b00226daf4aab9d5ce7c8d94609becd7707a9a..55444ecf235a5078b955898e24746e96f46714c5 100644
|
| --- a/pkg/http/lib/src/utils.dart
|
| +++ b/pkg/http/lib/src/utils.dart
|
| @@ -218,8 +218,8 @@ class Pair<E, F> {
|
| /// Configures [future] so that its result (success or exception) is passed on
|
| /// to [completer].
|
| void chainToCompleter(Future future, Completer completer) {
|
| - future.then((v) => completer.complete(v)).catchError((e) {
|
| - completer.completeError(e.error, e.stackTrace);
|
| + future.then((v) => completer.complete(v)).catchError((error) {
|
| + completer.completeError(error);
|
| });
|
| }
|
|
|
|
|