mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 16:01:36 +00:00
triedb/pathdb: downgrade duplicate disable log from ERROR to INFO
After an unclean shutdown, Disable() is called twice which is expected behavior. The second call was logging at ERROR level, which was misleading. Downgrade to INFO since this is a normal occurrence.
This commit is contained in:
parent
137a694282
commit
9493cb30fc
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ func (db *Database) Disable() error {
|
|||
}
|
||||
// Prevent duplicated disable operation.
|
||||
if db.waitSync {
|
||||
log.Error("Reject duplicated disable operation")
|
||||
log.Info("Reject duplicated disable operation")
|
||||
return nil
|
||||
}
|
||||
db.waitSync = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue