mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 11:57:51 +00:00
Update error check string
This commit is contained in:
parent
4f300f5c2e
commit
a172720531
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ func (h *Holder) Open() error {
|
|||
h.Logger.Printf("opening index: %s", filepath.Base(fi.Name()))
|
||||
|
||||
index, err := h.newIndex(h.IndexPath(filepath.Base(fi.Name())), filepath.Base(fi.Name()))
|
||||
if err == ErrName {
|
||||
if errors.Cause(err) == ErrName {
|
||||
h.Logger.Printf("ERROR opening index: %s, err=%s", fi.Name(), err)
|
||||
continue
|
||||
} else if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue