diff --git a/server/api/files.go b/server/api/files.go index 184cb7b95..e6d2a57af 100644 --- a/server/api/files.go +++ b/server/api/files.go @@ -119,7 +119,7 @@ func (a *API) handleServeFile(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", contentType) fileInfo, err := a.app.GetFileInfo(filename) - if err != nil { + if err != nil && !model.IsErrNotFound(err) { a.errorResponse(w, r, err) return }