Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1118)

Unified Diff: utils/pub/pub.dart

Issue 10917053: Show nicer errors on some server failures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/pub/pub.dart
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
index b6f196d830f6fdbf269698b85cfc8bd149f0729b..6437a62e7c59b1d83b0cef7d88297d12973f0cfc 100644
--- a/utils/pub/pub.dart
+++ b/utils/pub/pub.dart
@@ -177,8 +177,6 @@ class PubCommand {
handleError(error, trace) {
// This is basically the top-level exception handler so that we don't
// spew a stack trace on our users.
- // TODO(rnystrom): Add --trace flag so stack traces can be enabled for
- // debugging.
var message = error.toString();
// TODO(rnystrom): The default exception implementation class puts

Powered by Google App Engine
This is Rietveld 408576698