Make error string more specific

This commit is contained in:
Alan Bernstein 2018-05-10 16:02:40 -05:00
parent a172720531
commit a229b0f30d

View file

@ -415,7 +415,7 @@ func (i *Index) createFrame(name string, opt FrameOptions) (*Frame, error) {
if err := f.saveMeta(); err != nil {
f.Close()
return nil, errors.Wrap(err, "saving")
return nil, errors.Wrap(err, "saving meta")
}
// Add to index's frame lookup.