From 8965a53c4dff019f719b9818800e78c6e7c4648a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 16 Oct 2021 15:57:30 -0700 Subject: [PATCH] add warning error --- weed/util/chunk_cache/on_disk_cache_layer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/util/chunk_cache/on_disk_cache_layer.go b/weed/util/chunk_cache/on_disk_cache_layer.go index b004913ef..3a656110e 100644 --- a/weed/util/chunk_cache/on_disk_cache_layer.go +++ b/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 {