Fix wal internal error log
This commit is contained in:
committed by
Ben Johnson
parent
e6f7c6052d
commit
46597ab22f
@@ -289,7 +289,7 @@ func (s *Server) handleGetStream(w http.ResponseWriter, r *http.Request) {
|
|||||||
// Flush after WAL segment has been written.
|
// Flush after WAL segment has been written.
|
||||||
w.(http.Flusher).Flush()
|
w.(http.Flusher).Flush()
|
||||||
}
|
}
|
||||||
if bitr.Err() != nil {
|
if err := bitr.Err(); err != nil {
|
||||||
s.Logger.Printf("wal iterator error: %s", err)
|
s.Logger.Printf("wal iterator error: %s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user