Browse Source

rpc/client/http: log error (#5182)

Closes #3410
pull/5189/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
db345066a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      rpc/client/http/http.go

+ 3
- 1
rpc/client/http/http.go View File

@ -529,7 +529,9 @@ func (w *WSEvents) OnStart() error {
// OnStop implements service.Service by stopping WSClient.
func (w *WSEvents) OnStop() {
_ = w.ws.Stop()
if err := w.ws.Stop(); err != nil {
w.Logger.Error("Can't stop ws client", "err", err)
}
}
// Subscribe implements EventsClient by using WSClient to subscribe given


Loading…
Cancel
Save