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

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: Remove unnecessary check. Created 8 years, 3 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
« no previous file with comments | « utils/pub/io.dart ('k') | utils/tests/pub/pub_install_hosted_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/pub.dart
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
index 6db58c53619d6dffd6234365c233f14e12b4a355..632b900195365a020dbe8d4663cdd81965dd7a1e 100644
--- a/utils/pub/pub.dart
+++ b/utils/pub/pub.dart
@@ -184,8 +184,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
« no previous file with comments | « utils/pub/io.dart ('k') | utils/tests/pub/pub_install_hosted_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698