From 4b7275bcce52de183eefdc590e3537aff0490d05 Mon Sep 17 00:00:00 2001 From: Andrii Slisarchuk Date: Fri, 20 Dec 2024 11:33:11 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com> --- engine/access/rpc/backend/backend_stream_transactions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/access/rpc/backend/backend_stream_transactions.go b/engine/access/rpc/backend/backend_stream_transactions.go index ae6678e0a8b..d50293d3c94 100644 --- a/engine/access/rpc/backend/backend_stream_transactions.go +++ b/engine/access/rpc/backend/backend_stream_transactions.go @@ -120,12 +120,12 @@ func (b *backendSubscribeTransactions) createSubscription( // Get height to start subscription from if startBlockID == flow.ZeroID { if nextHeight, err = b.blockTracker.GetStartHeightFromHeight(startBlockHeight); err != nil { - b.log.Error().Err(err).Uint64("block_height", startBlockHeight).Msg("failed to get start height") + b.log.Debug().Err(err).Uint64("block_height", startBlockHeight).Msg("failed to get start height") return subscription.NewFailedSubscription(err, "failed to get start height") } } else { if nextHeight, err = b.blockTracker.GetStartHeightFromBlockID(startBlockID); err != nil { - b.log.Error().Err(err).Str("block_id", startBlockID.String()).Msg("failed to get start height") + b.log.Debug().Err(err).Str("block_id", startBlockID.String()).Msg("failed to get start height") return subscription.NewFailedSubscription(err, "failed to get start height") } }