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

Unified Diff: logdog/client/cli/subcommandList.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/cli/subcommandLatest.go ('k') | logdog/client/cli/subcommandQuery.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/cli/subcommandList.go
diff --git a/logdog/client/cli/subcommandList.go b/logdog/client/cli/subcommandList.go
index b43c7ffa93db06cd09c3e8c6854166689dba2f3e..4c79f3223c6a39c1a9d362c05286326c1700c57a 100644
--- a/logdog/client/cli/subcommandList.go
+++ b/logdog/client/cli/subcommandList.go
@@ -60,7 +60,7 @@ func (cmd *listCommandRun) Run(scApp subcommands.Application, args []string, _ s
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
}
« no previous file with comments | « logdog/client/cli/subcommandLatest.go ('k') | logdog/client/cli/subcommandQuery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698