When some class is not found it shows 404 instead of 500.

In devel mode this is clean.