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

Unified Diff: logdog/client/cli/subcommandLatest.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/subcommandCat.go ('k') | logdog/client/cli/subcommandList.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/cli/subcommandLatest.go
diff --git a/logdog/client/cli/subcommandLatest.go b/logdog/client/cli/subcommandLatest.go
index 1df91984d6ac457feee97b13a2d5e157219d51fd..e56c829265608206f73aa68e1ae19c84e3d70187 100644
--- a/logdog/client/cli/subcommandLatest.go
+++ b/logdog/client/cli/subcommandLatest.go
@@ -74,7 +74,7 @@ func (cmd *latestCommandRun) Run(scApp subcommands.Application, args []string, _
coord, err := a.coordinatorClient(addr.Host)
if err != nil {
- errors.Log(a, errors.Annotate(err).Reason("failed to create Coordinator client").Err())
+ errors.Log(a, errors.Annotate(err, "failed to create Coordinator client").Err())
return 1
}
« no previous file with comments | « logdog/client/cli/subcommandCat.go ('k') | logdog/client/cli/subcommandList.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698