better log
This commit is contained in:
parent
02ae180afd
commit
abee5bdbed
@ -306,7 +306,7 @@ func (db *DB) Close() error {
|
|||||||
log.Debugf("Closing DB <%s>", db.Name)
|
log.Debugf("Closing DB <%s>", db.Name)
|
||||||
|
|
||||||
if db.Handle == nil {
|
if db.Handle == nil {
|
||||||
log.Warningf("<%s> handle is nil", db.Name)
|
log.Debugf("<%s> db handle is nil, already closed ?", db.Name)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user