Skip to content

Commit

Permalink
do not stop reading from websocket if we get an unknown command back
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Dec 23, 2024
1 parent a8d5b71 commit 9cf4204
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions op-service/client/bss_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ func (bssc *LiveBssClient) handleBSSWebsocketReadUnauth(ctx context.Context, con
case bssapi.CmdBTCNewBlockNotification:
log.Debug("Ignoring new BTC block notification")
default:
log.Error("unknown command read from BSS", "cmd", cmd)
return // XXX exit for now to cause a ruckus in the logs
log.Debug("unknown command read from BSS, ignoring", "cmd", cmd)
}
}
}
Expand Down

0 comments on commit 9cf4204

Please sign in to comment.