| Index: sdk/lib/_internal/pub/lib/src/source/hosted.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/source/hosted.dart b/sdk/lib/_internal/pub/lib/src/source/hosted.dart
|
| index 265c844422432a9fc63cea69bb5826f8ab746f07..dbaccfa5e9eb51a388b18e85f568345589db7a57 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/source/hosted.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/source/hosted.dart
|
| @@ -75,7 +75,7 @@ class HostedSource extends Source {
|
| expectedName: id.name, location: url);
|
| }).catchError((ex, stackTrace) {
|
| var parsed = _parseDescription(id.description);
|
| - _throwFriendlyError(ex, stackTrace, id, parsed.last);
|
| + _throwFriendlyError(ex, stackTrace, id.name, parsed.last);
|
| });
|
| }
|
|
|
|
|