Skip to content

Commit

Permalink
Update error handling in icon client
Browse files Browse the repository at this point in the history
  • Loading branch information
kwon528 committed Jul 31, 2023
1 parent 0eba41b commit 6227ddb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chain/icon/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ func (c *Client) MonitorBTP(p *BTPRequest, cb func(conn *websocket.Conn, v *BTPN
case *BTPNotification:
if err := cb(conn, t); err != nil {
c.l.Debugf("MonitorBTP callback return err:%+v", err)
errCb(conn, err)
}
case WSEvent:
c.l.Debugf("MonitorBTP WSEvent %s %+v", conn.LocalAddr().String(), t)
Expand Down

0 comments on commit 6227ddb

Please sign in to comment.