| Index: utils/pub/oauth2.dart
|
| diff --git a/utils/pub/oauth2.dart b/utils/pub/oauth2.dart
|
| index 331442dc578dad1715344ea5a7001f25cfe44fff..900abf6226024053a22c4e8fa288072dd5d6b234 100644
|
| --- a/utils/pub/oauth2.dart
|
| +++ b/utils/pub/oauth2.dart
|
| @@ -81,7 +81,7 @@ Future withClient(SystemCache cache, Future fn(Client client)) {
|
| } catch (e, stackTrace) {
|
| // whenComplete will drop exceptions on the floor. We want to ensure
|
| // that any programming errors here don't go un-noticed. See issue 4127.
|
| - completer.completeException(e, stackTrace);
|
| + completer.completeError(e, stackTrace);
|
| }
|
| });
|
| return completer.future;
|
|
|