storage: change println error for botldb to log
This commit is contained in:
parent
31212676f2
commit
ced2022273
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import (
|
|||
"path"
|
||||
|
||||
"github.com/etcd-io/bbolt"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/syndtr/goleveldb/leveldb/util"
|
||||
)
|
||||
|
||||
|
@ -110,7 +111,7 @@ func (s *BoltDBStore) Seek(key []byte, f func(k, v []byte)) {
|
|||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
fmt.Println("error while executing seek in boltDB")
|
||||
log.Error("error while executing seek in boltDB")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue