mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
Merge pull request #1235 from c9s/c9s/turn-off-error-log
CHORE: turn off network error log
This commit is contained in:
commit
d730bc8d41
|
@ -214,13 +214,13 @@ func (s *StandardStream) Read(ctx context.Context, conn *websocket.Conn, cancel
|
|||
return
|
||||
|
||||
case net.Error:
|
||||
log.WithError(err).Error("websocket read network error")
|
||||
log.WithError(err).Warn("websocket read network error")
|
||||
_ = conn.Close()
|
||||
s.Reconnect()
|
||||
return
|
||||
|
||||
default:
|
||||
log.WithError(err).Error("unexpected websocket error")
|
||||
log.WithError(err).Warn("unexpected websocket error")
|
||||
_ = conn.Close()
|
||||
s.Reconnect()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user