| Index: go/src/infra/tricium/service/gerrit-reporter/handlers.go
|
| diff --git a/go/src/infra/tricium/service/gerrit-reporter/handlers.go b/go/src/infra/tricium/service/gerrit-reporter/handlers.go
|
| index ab9fee120bc0ae497aa4a3aeb9aad70cc091ac1d..083d3be335d801109680f86024ed6c8821d68faf 100644
|
| --- a/go/src/infra/tricium/service/gerrit-reporter/handlers.go
|
| +++ b/go/src/infra/tricium/service/gerrit-reporter/handlers.go
|
| @@ -22,7 +22,10 @@ func statusPageHandler(w http.ResponseWriter, r *http.Request) {
|
| data := map[string]interface{}{
|
| "Msg": "Status of the Gerrit Reporter ...",
|
| }
|
| - basePage.Execute(w, data)
|
| + if e := basePage.Execute(w, data); e != nil {
|
| + http.Error(w, e.Error(), http.StatusInternalServerError)
|
| + return
|
| + }
|
| }
|
|
|
| func queueHandler(w http.ResponseWriter, r *http.Request) {
|
|
|