change index block log to info (#6290)

## Description

Change log from error to info for indexing blocks
This commit is contained in:
Marko
2021-03-29 13:50:12 +00:00
committed by GitHub
parent 6a34fd8fc3
commit 32ee737d42

View File

@@ -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 {