log put errors in splitstore log
This commit is contained in:
parent
9fda61abec
commit
40ff5bf164
@ -324,6 +324,10 @@ func (s *SplitStore) Put(blk blocks.Block) error {
|
||||
err = s.txnProtect.Mark(blk.Cid())
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
log.Errorf("error putting cid %s in hotstore: %s", blk.Cid(), err)
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
@ -364,6 +368,10 @@ func (s *SplitStore) PutMany(blks []blocks.Block) error {
|
||||
}
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
log.Errorf("error putting batch in hotstore: %s", err)
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user