| Index: utils/pub/command_uploader.dart
 | 
| diff --git a/utils/pub/command_uploader.dart b/utils/pub/command_uploader.dart
 | 
| index 673a4bda015672b842332dbf19b5c36af56a0501..029f78c6f29ee45019d3f064daac9c1bd67f3cc9 100644
 | 
| --- a/utils/pub/command_uploader.dart
 | 
| +++ b/utils/pub/command_uploader.dart
 | 
| @@ -76,9 +76,8 @@ class UploaderCommand extends PubCommand {
 | 
|            return client.delete(url);
 | 
|          }
 | 
|        });
 | 
| -    }).then(handleJsonSuccess).catchError((asyncError) {
 | 
| -      if (asyncError.error is! PubHttpException) throw asyncError;
 | 
| -      handleJsonError(asyncError.error.response);
 | 
| -    });
 | 
| +    }).then(handleJsonSuccess)
 | 
| +      .catchError((error) => handleJsonError(error.response),
 | 
| +                  test: (e) => e is PubHttpException);
 | 
|    }
 | 
|  }
 | 
| 
 |