| Index: sdk/lib/_internal/pub/lib/src/command.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/command.dart b/sdk/lib/_internal/pub/lib/src/command.dart
|
| index c6e25ead386e09395f4147ec529ea8ed8c3a1be0..221bc4536bb4696d639e2c823a730bf668e6b6dc 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/command.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/command.dart
|
| @@ -103,6 +103,12 @@ abstract class PubCommand {
|
| }
|
| }
|
|
|
| + if (error is ApplicationException && error.innerError != null) {
|
| + var message = "Wrapped exception: ${error.innerError}";
|
| + if (error.innerTrace != null) message = "$message\n${error.innerTrace}";
|
| + log.fine(message);
|
| + }
|
| +
|
| if (options['trace']) {
|
| log.dumpTranscript();
|
| } else if (!isUserFacingException(error)) {
|
|
|