Skip to content
Snippets Groups Projects
Commit dd3d5b49 authored by ale's avatar ale
Browse files

Remove obnoxious log

parent 905cfc4d
No related branches found
No related tags found
No related merge requests found
......@@ -130,17 +130,13 @@ func (s *IngestServer) IngestHandler(w http.ResponseWriter, req *http.Request) {
return
}
n, err := s.ingestBatch(req.Body)
_, err := s.ingestBatch(req.Body)
if err != nil {
log.Printf("ingestion error: %v", err)
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
if n > 0 {
log.Printf("received %d records", n)
}
w.WriteHeader(http.StatusAccepted)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment