Commit 7440e37c authored by Fabien Potencier's avatar Fabien Potencier

merged branch drock/exception-wrapper-use-HttpExceptionInterface (PR #530)

This PR was merged into the master branch.

Commits
-------

72506950 Added use statement for HttpExceptionInterface

Discussion
----------

Added use statement for HttpExceptionInterface

The Exception Wrapper recent refactoring added a reference to HttpExceptionInterface but not a use statement for it.  This can cause the instance of check in there to fail causing you to always get a 500 error code.
parents 0ff83c40 72506950
......@@ -12,6 +12,7 @@
namespace Silex;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
use Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment