Browse Source

add error message

pull/2321/head
Chris Lu 3 years ago
parent
commit
1b942dfa3c
  1. 2
      weed/storage/needle/needle_read_write.go

2
weed/storage/needle/needle_read_write.go

@ -205,7 +205,7 @@ func ReadNeedleBlob(r backend.BackendStorageFile, offset int64, size Size, versi
} }
if err != nil { if err != nil {
fileSize, _, _ := r.GetStat() 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 return dataSlice, err

Loading…
Cancel
Save