Skip to content

Commit 53ec7cb

Browse files
committed
log err and fix typos
1 parent 84e0fd0 commit 53ec7cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/da/jsonrpc/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func NewClient(ctx context.Context, addr, token string, authHeaderName string) (
7777
func NewWSClient(ctx context.Context, logger zerolog.Logger, addr, token string, authHeaderName string) (*Client, error) {
7878
client, err := NewClient(ctx, httpToWS(addr), token, authHeaderName)
7979
if err != nil {
80-
logger.Warn().Msg("connection to websocket failed, failling back to DA polling")
80+
logger.Warn().Err(err).Msg("DA websocket connection failed, falling back to DA polling")
8181
return NewClient(ctx, addr, token, authHeaderName)
8282
}
8383

0 commit comments

Comments
 (0)