mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-04 20:23:59 +00:00
change index block log to info (#6290)
## Description Change log from error to info for indexing blocks
This commit is contained in:
@@ -79,7 +79,7 @@ func (is *IndexerService) OnStart() error {
|
||||
if err := is.blockIdxr.Index(eventDataHeader); err != nil {
|
||||
is.Logger.Error("failed to index block", "height", height, "err", err)
|
||||
} else {
|
||||
is.Logger.Error("indexed block", "height", height)
|
||||
is.Logger.Info("indexed block", "height", height)
|
||||
}
|
||||
|
||||
if err = is.txIdxr.AddBatch(batch); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user