This commit is contained in:
parent
2e73689762
commit
201a66697a
@ -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)
|
||||||
|
log.WithError(err).Error("failed to marshal info")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user