Skip to content

Commit 4acaa4b

Browse files
committed
fix: ignore cache error when file not found
1 parent fdeb3f3 commit 4acaa4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/go/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ func GetBytes(c Cache, id ActionID) ([]byte, Entry, error) {
293293
}
294294
data, err := robustio.ReadFile(c.OutputFile(entry.OutputID))
295295
if err != nil {
296-
return nil, entry, err
296+
return nil, entry, &entryNotFoundError{Err: err}
297297
}
298298
if sha256.Sum256(data) != entry.OutputID {
299299
return nil, entry, &entryNotFoundError{Err: errors.New("bad checksum")}

0 commit comments

Comments
 (0)