add error message

This commit is contained in:
Chris Lu 2021-09-02 12:32:46 -07:00
parent 9a73b0e3c9
commit 1b942dfa3c

View file

@ -205,7 +205,7 @@ func ReadNeedleBlob(r backend.BackendStorageFile, offset int64, size Size, versi
}
if err != nil {
fileSize, _, _ := r.GetStat()
println("n", n, "dataSize", dataSize, "offset", offset, "fileSize", fileSize)
glog.Errorf("%s read %d dataSize %d offset %d fileSize %d: %v", r.Name(), n, dataSize, offset, fileSize, err)
}
return dataSlice, err