sonata-project/SonataMediaBundle — pull request #181 by Briareos (2012-08-06 10:34:35+00:00)
Title: Catch exceptions thrown during form transformation

Imagine\Gd\Imagine::open throws numerous exceptions when handed a non-image file. This happens before form validation, so instead of errors, the user is shown only a status 500 page.