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

Unified Diff: deploytool/cmd/luci_deploy/config.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 | « deploytool/cmd/luci_deploy/checkout.go ('k') | deploytool/cmd/luci_deploy/deploy.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: deploytool/cmd/luci_deploy/config.go
diff --git a/deploytool/cmd/luci_deploy/config.go b/deploytool/cmd/luci_deploy/config.go
index 9846e3d9593acdf92883c5f7303446ff589245e3..d206fb8752eddfdd2b1d50deba7ed829ead0dd98 100644
--- a/deploytool/cmd/luci_deploy/config.go
+++ b/deploytool/cmd/luci_deploy/config.go
@@ -33,7 +33,7 @@ func loadUserConfig(c context.Context, cfg *deploy.UserConfig) error {
log.Debugf(c, "No user config found at: %s", configPath)
default:
- return errors.Annotate(err).Reason("failed to load config at [%(path)s]").D("path", configPath).Err()
+ return errors.Annotate(err, "failed to load config at [%s]", configPath).Err()
}
return nil
« no previous file with comments | « deploytool/cmd/luci_deploy/checkout.go ('k') | deploytool/cmd/luci_deploy/deploy.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698