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

Unified Diff: milo/appengine/buildbot/html.go

Issue 2525493002: Milo: Add themed page for errors (Closed)
Patch Set: Review Created 4 years 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 | « milo/appengine/buildbot/builder.go ('k') | milo/appengine/buildbot/master.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/buildbot/html.go
diff --git a/milo/appengine/buildbot/html.go b/milo/appengine/buildbot/html.go
index cf16e70572af8658ba00b2288d03b1b40a9dd8d2..b884e914f156b162c537d4492cd87209c343c3a4 100644
--- a/milo/appengine/buildbot/html.go
+++ b/milo/appengine/buildbot/html.go
@@ -85,14 +85,14 @@ func (b Builder) Render(c context.Context, r *http.Request, p httprouter.Params)
master := p.ByName("master")
if master == "" {
return nil, &miloerror.Error{
- Message: "No master",
+ Message: "No master specified",
Code: http.StatusBadRequest,
}
}
builder := p.ByName("builder")
if builder == "" {
return nil, &miloerror.Error{
- Message: "No builder",
+ Message: "No builder specified",
Code: http.StatusBadRequest,
}
}
« no previous file with comments | « milo/appengine/buildbot/builder.go ('k') | milo/appengine/buildbot/master.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698