omit ethstats weird warning msg

This commit is contained in:
parmmarrushabh 2018-10-24 14:14:58 +05:30
parent 3f716137db
commit c15a26c57c

View file

@ -315,7 +315,7 @@ func (s *Service) readLoop(conn *websocket.Conn) {
// Make sure the request is valid and doesn't crash us
request, ok := msg["emit"][1].(map[string]interface{})
if !ok {
log.Warn("Invalid stats history request", "msg", msg["emit"][1])
log.Debug("Invalid stats history request", "msg", msg["emit"][1])
s.histCh <- nil
continue // Ethstats sometime sends invalid history requests, ignore those
}