Skip to content

Commit

Permalink
core: raise severity of persistence failure message
Browse files Browse the repository at this point in the history
It is very critical in fact.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
  • Loading branch information
roman-khimov committed Jan 14, 2025
1 parent 70aaeb0 commit c14492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ func (bc *Blockchain) Run() {
}
dur, err := bc.persist(nextSync)
if err != nil {
bc.log.Warn("failed to persist blockchain", zap.Error(err))
bc.log.Error("failed to persist blockchain", zap.Error(err))
}
if bc.config.Ledger.RemoveUntraceableBlocks {
dur += bc.tryRunGC(oldPersisted)
Expand Down

0 comments on commit c14492e

Please sign in to comment.