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 {
|
if err != nil {
|
||||||
w.WriteHeader(http.StatusInternalServerError)
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
|
_, _ = w.Write([]byte(err.Error()))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user