| Index: utils/pub/system_cache.dart
|
| diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart
|
| index 18fa1dbc0d5f61fc8d703fd54f9d0de25f441c2c..c022af7d365085a03f18826bbdd532f5821bc903 100644
|
| --- a/utils/pub/system_cache.dart
|
| +++ b/utils/pub/system_cache.dart
|
| @@ -4,8 +4,10 @@
|
|
|
| #library('system_cache');
|
|
|
| +#import('io.dart');
|
| #import('package.dart');
|
| #import('source_registry.dart');
|
| +#import('utils.dart');
|
|
|
| /**
|
| * The system-wide cache of installed packages.
|
| @@ -79,9 +81,7 @@ class SystemCache {
|
| }).chain((_) {
|
| return id.source.install(id, path);
|
| }).chain((found) {
|
| - if (!found) {
|
| - throw 'Package ${id.fullName} not found in source "${id.source.name}".';
|
| - }
|
| + if (!found) throw 'Package $id not found.';
|
| return Package.load(path, sources);
|
| });
|
|
|
|
|