dotblue / nette-webimages

On-the-fly generated web images for your Nette app
Other
26 stars 18 forks source link

NotAllowedImageException should extend BadRequestException #14

Closed janedbal closed 9 years ago

janedbal commented 9 years ago

There is no suitable place, where to catch this exception and convert it to BadRequestException, therefore passing invalid URL causing this exception leads to error 500, not 404 as it should.