Skip to content

Conversation

@redelschaap
Copy link
Contributor

When a visitor requests a non-existent image, a 500 server error is given because the Glide package throws a FileNotFoundException. We see this a lot in our error reports.

This change will convert this exception into a 404 HTTP status code.

When a visitor requests a non-existent image, a 500 server error is given because the Glide package throws a FileNotFoundException. We see this a lot in our error reports.

This change will convert this exception into a 404 HTTP status code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant