Skip to content

Commit f92cac0

Browse files
return after error
1 parent 96bead8 commit f92cac0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

admin/ops.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ func (*OpsServer) AdminUI() http.Handler {
134134
err := TMPL.Execute(w, nil)
135135
if err != nil {
136136
http.Error(w, err.Error(), http.StatusInternalServerError)
137+
return
137138
}
138139
})
139140
}

0 commit comments

Comments
 (0)