From c1255d30ad97cebdaf9de7930356fc716e24826d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 19 Sep 2021 01:33:26 -0700 Subject: [PATCH] add cache error log --- weed/server/filer_server_handlers_read.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.go index 57f2e5300..8d6a03cb8 100644 --- a/weed/server/filer_server_handlers_read.go +++ b/weed/server/filer_server_handlers_read.go @@ -177,6 +177,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request) Directory: dir, Name: name, }); err != nil { + glog.Errorf("cache %s: %v", entry.FullPath, err) return fmt.Errorf("cache %s: %v", entry.FullPath, err) } else { chunks = resp.Entry.Chunks