Return error on channel page
This commit is contained in:
parent
dcc9bfa889
commit
c7f231a38e
|
|
@ -411,7 +411,7 @@ func (h *mainHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
err = h.renderTemplate(w, "channel.html", page)
|
err = h.renderTemplate(w, "channel.html", page)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(w, "ERROR: %s\n", err)
|
http.Error(w, err.Error(), 500)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
} else if r.URL.Path == "/logs" {
|
} else if r.URL.Path == "/logs" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user