Chromium Code Reviews| Index: utils/pub/command_lish.dart |
| diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart |
| index 356ed52427925b25ae2c5197ffda06afcc48c3d2..2605cf674e14eedbabb74875d7c8a6f64fa80898 100644 |
| --- a/utils/pub/command_lish.dart |
| +++ b/utils/pub/command_lish.dart |
| @@ -92,6 +92,8 @@ class LishCommand extends PubCommand { |
| throw 'Failed to upload the package.'; |
| } else if (url.origin == server.origin) { |
| handleJsonError(asyncError.error.response); |
| + } else { |
| + throw asyncError; |
| } |
| }); |
| } |