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 b36cae4409859a61397ac218d4249ed71c815fdb..a6823384bef9a502fccfe4701087a2d25e110909 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command.dart |
@@ -129,6 +129,7 @@ abstract class PubCommand { |
var message; |
log.error(getErrorMessage(error)); |
+ log.fine("Exception type: ${error.runtimeType}"); |
Bob Nystrom
2014/01/28 21:23:57
It seems like we're just making work for ourselves
nweiz
2014/01/28 22:13:37
Only certain "dart:" exceptions contain their type
|
if (options['trace'] || !isUserFacingException(error)) { |
log.error(chain.terse); |