Enabled Silex to catch exceptions and use the error handler