Without this we throw a second error when we can't find a view of the correct format and issue a 500 response.
Fixes #1241