Missing page and format where throwing error 500 now 400 or 404

Lodel was systematically throwing an error 500 in case of a missing page or format. Now it throw an error 404 for a missing page and an error 400 for a missing format.