New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing static resources report 500 Internal Server Error #157

Closed
bdimmick opened this Issue Jul 22, 2014 · 1 comment

Comments

2 participants
@bdimmick
Contributor

bdimmick commented Jul 22, 2014

When requesting a static resource that doesn't exist, [https://github.com/twitter/finatra/blob/master/src/main/scala/com/twitter/finatra/ResponseBuilder.scala#L184](this line) throws an exception which is then bubbled up and reported as "Something went wrong!" with a 500 Internal Server Error - this should instead be a 404 Not Found.

rjz pushed a commit to rjz/finatra that referenced this issue Aug 3, 2014

@cacoco

This comment has been minimized.

Member

cacoco commented Jun 3, 2015

Addressed in Finatra v2.x FileResolver.

@cacoco cacoco closed this Jun 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment