This commit is contained in:
@@ -100,6 +100,7 @@ func (s *Server) getInfo(w http.ResponseWriter, _ *http.Request) {
|
||||
}, "", " ")
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
log.WithError(err).Error("failed to marshal info")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user