mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Update scoring panel for 2020.
This commit is contained in:
@@ -189,6 +189,7 @@ func (web *Web) newHandler() http.Handler {
|
||||
|
||||
// Writes the given error out as plain text with a status code of 500.
|
||||
func handleWebErr(w http.ResponseWriter, err error) {
|
||||
log.Printf("HTTP request error: %v", err)
|
||||
http.Error(w, "Internal server error: "+err.Error(), 500)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user