Skip to content

Commit

Permalink
feat: added error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcsainju committed Aug 9, 2024
1 parent 70d9cf5 commit 7ce2a03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relayer/chains/wasm/wasm_chain_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ func (ccp *WasmChainProcessor) queryCycle(ctx context.Context, persistence *quer
zap.Any("delta", delta))
status, err := ccp.chainProvider.BlockRPCClient.Status(ctx)
if err != nil {
ccp.log.Warn("Error occurred fetching block status")
return nil
}
if persistence.latestQueriedBlock > status.SyncInfo.LatestBlockHeight &&
Expand Down

0 comments on commit 7ce2a03

Please sign in to comment.