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

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

Issue 2963503003: [errors] Greatly simplify common/errors package. (Closed)
Patch Set: all tests passing 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
Index: logdog/client/cli/subcommandQuery.go
diff --git a/logdog/client/cli/subcommandQuery.go b/logdog/client/cli/subcommandQuery.go
index 6e303ccf0750c29d9f59a7a6585a4a28dd337d6c..159eb40a99c2013a6a1f5a4470b08fbd9b858976 100644
--- a/logdog/client/cli/subcommandQuery.go
+++ b/logdog/client/cli/subcommandQuery.go
@@ -77,7 +77,7 @@ func (cmd *queryCommandRun) Run(scApp subcommands.Application, args []string, _
coord, err := a.coordinatorClient("")
if err != nil {
- errors.Log(a, errors.Annotate(err).Reason("could not create Coordinator client").Err())
+ errors.Log(a, errors.Annotate(err, "could not create Coordinator client").Err())
return 1
}

Powered by Google App Engine
This is Rietveld 408576698