| Index: utils/pub/entrypoint.dart
|
| diff --git a/utils/pub/entrypoint.dart b/utils/pub/entrypoint.dart
|
| index b162859cf49385bab3f929c8ef30496491664a69..0afc3ab3ad17e500df3f3a083d77b9b131c391b5 100644
|
| --- a/utils/pub/entrypoint.dart
|
| +++ b/utils/pub/entrypoint.dart
|
| @@ -87,8 +87,7 @@ class Entrypoint {
|
| } else {
|
| return id.source.install(id, packageDir).then((found) {
|
| if (found) return null;
|
| - // TODO(nweiz): More robust error-handling.
|
| - throw 'Package ${id.name} not found in source "${id.source.name}".';
|
| + fail('Package ${id.name} not found in source "${id.source.name}".');
|
| });
|
| }
|
| }).then((_) => id.resolved);
|
|
|