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

Unified Diff: logdog/client/cli/main.go

Issue 2963503003: [errors] Greatly simplify common/errors package. (Closed)
Patch Set: fix nits Created 3 years, 6 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 | « logdog/client/butlerlib/streamclient/tcp.go ('k') | logdog/client/cli/subcommandCat.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/cli/main.go
diff --git a/logdog/client/cli/main.go b/logdog/client/cli/main.go
index caba45cb7d8ca3a480584cccbe29767fce9f027f..fbf4343d8b0aceb3a8f7b5bc944da31eae265916 100644
--- a/logdog/client/cli/main.go
+++ b/logdog/client/cli/main.go
@@ -123,7 +123,7 @@ func (a *application) resolveHost(host string) (string, error) {
func (a *application) coordinatorClient(host string) (*coordinator.Client, error) {
host, err := a.resolveHost(host)
if err != nil {
- return nil, errors.Annotate(err).Err()
+ return nil, errors.Annotate(err, "").Err()
}
// Get our Coordinator client instance.
« no previous file with comments | « logdog/client/butlerlib/streamclient/tcp.go ('k') | logdog/client/cli/subcommandCat.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698