Cleanup non-needed log.Fatal's in various files

This commit is contained in:
Adrian Gallagher
2019-01-17 14:10:56 +11:00
parent 84a67359c9
commit 7413fc41b8
6 changed files with 73 additions and 64 deletions

View File

@@ -125,7 +125,8 @@ func (b *BTCC) WsHandleData() {
var Result WsResponseMain
err := common.JSONDecode(resp.Raw, &Result)
if err != nil {
log.Fatal(err)
b.Websocket.DataHandler <- err
continue
}
switch Result.MsgType {