From f9da859720286d90c629a6cd6a002472a224a911 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 29 Apr 2020 02:42:06 -0700 Subject: [PATCH] better error message --- weed/filer2/filer_notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer2/filer_notify.go b/weed/filer2/filer_notify.go index e48026b52..6b83d8e63 100644 --- a/weed/filer2/filer_notify.go +++ b/weed/filer2/filer_notify.go @@ -114,7 +114,7 @@ func (f *Filer) ReadPersistedLogBuffer(startTime time.Time, eachLogEntryFn func( if err == io.EOF { break } - return err + return fmt.Errorf("reading %s: %v", hourMinuteEntry.FullPath, err) } chunkedFileReader.Close() }