plakar icon indicating copy to clipboard operation
plakar copied to clipboard

api: treat ErrPackfileNotFound as 500

Open omar-polo opened this issue 11 months ago • 1 comments

Unlike the snapshot not found case, which may be caused by a typo or a purposefully deleted snapshot, the packfile not found case is a sympthom of a worst problem: some kind of corruption in the repository.

omar-polo avatar Feb 08 '25 10:02 omar-polo

Actually we seem to return ErrPackfileNotFound even when the snapshot wasn't found (caught thanks to the tests!), so this needs some more work.

omar-polo avatar Feb 08 '25 10:02 omar-polo

made #1043 out of this, so this can be closed for now.

omar-polo avatar May 16 '25 09:05 omar-polo