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

Unified Diff: milo/build_source/raw_presentation/html.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 | « lucictx/lucictx.go ('k') | milo/build_source/swarming/build.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/build_source/raw_presentation/html.go
diff --git a/milo/build_source/raw_presentation/html.go b/milo/build_source/raw_presentation/html.go
index 2021a2846c25b78830c198e509efa9467f7f24cb..a6bc384b4503ee2c740be8e36e33e17f30c371e4 100644
--- a/milo/build_source/raw_presentation/html.go
+++ b/milo/build_source/raw_presentation/html.go
@@ -87,9 +87,7 @@ func resolveHost(host string) (string, error) {
case defaultLogDogHost, "luci-logdog-dev.appspot.com":
return host, nil
default:
- return "", errors.Reason("host %(host)q is not whitelisted").
- D("host", host).
- Err()
+ return "", errors.Reason("host %q is not whitelisted", host).Err()
}
}
« no previous file with comments | « lucictx/lucictx.go ('k') | milo/build_source/swarming/build.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698