This commit is contained in:
parent
2e73689762
commit
94eff5be03
@ -100,6 +100,7 @@ func (s *Server) getInfo(w http.ResponseWriter, _ *http.Request) {
|
||||
}, "", " ")
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
_, _ = w.Write([]byte(err.Error()))
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user