storagenode/storagenodedb: fix error message
Change-Id: Ibc98aa6539199f8dc8117f21a6ae645cea419403
This commit is contained in:
parent
58916d8ba9
commit
96058be1a7
@ -300,7 +300,7 @@ func (db *DB) openExistingDatabase(ctx context.Context, dbName string) error {
|
||||
db.log.Info("database does not exist", zap.String("database", dbName))
|
||||
return nil
|
||||
}
|
||||
return ErrDatabase.New("%s database file %q does not exist: %w", dbName, path, err)
|
||||
return ErrDatabase.New("%s couldn't be read (%q): %w", dbName, path, err)
|
||||
}
|
||||
|
||||
return db.openDatabase(ctx, dbName)
|
||||
|
Loading…
Reference in New Issue
Block a user