mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-02-14 09:48:37 +00:00
core: raise severity of persistence failure message
It is very critical in fact. Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
70aaeb06ad
commit
c14492e8c8
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ func (bc *Blockchain) Run() {
|
||||||
}
|
}
|
||||||
dur, err := bc.persist(nextSync)
|
dur, err := bc.persist(nextSync)
|
||||||
if err != nil {
|
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 {
|
if bc.config.Ledger.RemoveUntraceableBlocks {
|
||||||
dur += bc.tryRunGC(oldPersisted)
|
dur += bc.tryRunGC(oldPersisted)
|
||||||
|
|
Loading…
Add table
Reference in a new issue