Closed rudigiesler closed 10 years ago
Things like invalid SVG
should never happen and indicate an internal error, so those shouldn't go through to the user. Things like Unsupported file format
we probably want to give to the user.
We can either check the file format in the view/route, or catch that exception and turn it into a response.
Should we do that in another PR, since the goal of this PR was to create tests?
Sure, sounds good to me. :+1:
Are we gonna catch the new exceptions in the service to raise useful responses?