Browse Source

add warning error

pull/2388/head
Chris Lu 3 years ago
parent
commit
8965a53c4d
  1. 2
      weed/util/chunk_cache/on_disk_cache_layer.go

2
weed/util/chunk_cache/on_disk_cache_layer.go

@ -96,7 +96,7 @@ func (c *OnDiskCacheLayer) getChunkSlice(needleId types.NeedleId, offset, length
continue
}
if err != nil {
glog.Errorf("failed to read cache file %s id %d", diskCache.fileName, needleId)
glog.Warningf("failed to read cache file %s id %d: %v", diskCache.fileName, needleId, err)
continue
}
if len(data) != 0 {

Loading…
Cancel
Save