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.") |