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

Unified Diff: vpython/application/subcommand_install.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 | « vpython/application/subcommand_delete.go ('k') | vpython/application/subcommand_verify.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/application/subcommand_install.go
diff --git a/vpython/application/subcommand_install.go b/vpython/application/subcommand_install.go
index 8e60d9a8dbeb1df0d6f62223ee6b6f5935fb8f1b..0de056e70cdbbebf67d525f9bdb03b8ccf4e7822 100644
--- a/vpython/application/subcommand_install.go
+++ b/vpython/application/subcommand_install.go
@@ -50,7 +50,7 @@ func (cr *installCommandRun) Run(app subcommands.Application, args []string, env
return nil
})
if err != nil {
- return errors.Annotate(err).Reason("failed to setup the environment").Err()
+ return errors.Annotate(err, "failed to setup the environment").Err()
}
logging.Infof(c, "Successfully setup the environment.")
« no previous file with comments | « vpython/application/subcommand_delete.go ('k') | vpython/application/subcommand_verify.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698