Browse Source

Fix bug in receiveEventsRoutine error handling

pull/456/head
Jae Kwon 9 years ago
parent
commit
1370f89864
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/ws_client.go

+ 1
- 1
client/ws_client.go View File

@ -94,7 +94,7 @@ func (wsc *WSClient) receiveEventsRoutine() {
continue
}
if response.Error != "" {
wsc.ErrorsCh <- fmt.Errorf(err.Error())
wsc.ErrorsCh <- fmt.Errorf(response.Error)
continue
}
wsc.ResultsCh <- *response.Result


Loading…
Cancel
Save