500 error if there are no su3s

This commit is contained in:
Matt Drollette
2015-03-16 22:35:34 -05:00
parent 36c2a980d3
commit 8d31f97123
2 changed files with 6 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ func (s *Server) reseedHandler(w http.ResponseWriter, r *http.Request) {
su3Bytes, err := s.Reseeder.PeerSu3Bytes(peer)
if nil != err {
http.Error(w, "500 Unable to get SU3", http.StatusInternalServerError)
http.Error(w, "500 Unable to serve su3", http.StatusInternalServerError)
return
}