Skip to content

Commit

Permalink
update log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Jun 7, 2024
1 parent e290aa5 commit 9628ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relayer/chains/cosmos/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,13 @@ func (cc *CosmosProvider) startLivelinessChecks(ctx context.Context, timeout tim

// attempt to setup rpc client
if err = cc.setRpcClient(false, rpcAddr, timeout); err != nil {
cc.log.Debug("Failed to connect to RPC client", zap.String("chain", cc.ChainName()), zap.String("rpc", rpcAddr), zap.Error(err))
cc.log.Error("Failed to connect to RPC client", zap.String("chain", cc.ChainName()), zap.String("rpc", rpcAddr), zap.Error(err))
continue
}

// attempt to setup light client
if err = cc.setLightProvider(rpcAddr); err != nil {
cc.log.Debug("Failed to connect to light client provider", zap.String("chain", cc.ChainName()), zap.String("rpc", rpcAddr), zap.Error(err))
cc.log.Error("Failed to connect to light client provider", zap.String("chain", cc.ChainName()), zap.String("rpc", rpcAddr), zap.Error(err))
continue
}

Expand Down

0 comments on commit 9628ff0

Please sign in to comment.