ems-project / elasticms

ElasticMS's monorepo
MIT License
3 stars 8 forks source link

fix(common/storage): return 404 response on not found #938

Closed Davidmattei closed 3 months ago

Davidmattei commented 3 months ago
Q A
Bug fix? y
New feature? n
BC breaks? n
Deprecations? n
Fixed tickets? n
Documentation? n

Problem:

/file/b693472833bc8d9771a3a17040e0546bb1f4d824/fe03ebfa30efdecc1434f4e67d4390397a037035/example.png is returning a 500 error instead of a 404 error.

Solution:

Handle the exception and return a 404 response