]> source.dussan.org Git - gitea.git/commit
When handling errors in storageHandler check underlying error (#13178)
authorzeripath <art27@cantab.net>
Sun, 18 Oct 2020 01:29:06 +0000 (02:29 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Oct 2020 01:29:06 +0000 (21:29 -0400)
commit25b7766673867d2a9ac32fde6cb0d719f04b2953
tree41e06110a3c25e213a648e830a7d22d2c1ea8f3b
parent4cc8697a652a60263149fb794c46df87d19eff74
When handling errors in storageHandler check underlying error (#13178)

Unfortunately there was a mistake in #13164 which fails to handle
os.PathError wrapping an os.ErrNotExist

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
modules/storage/minio.go
routers/routes/routes.go