Skip to content

Commit

Permalink
merged branch willdurand/patch-1 (PR symfony#16)
Browse files Browse the repository at this point in the history
Commits
-------

16b5b09 Fixed typo

Discussion
----------

Fixed typo
  • Loading branch information
fabpot committed Jan 24, 2012
2 parents 831adec + 16b5b09 commit 0b7581d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/part11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ make your error management configurable::

return new Response($msg, $exception->getStatusCode());
});
$dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler);
$dispatcher->addSubscriber(new HttpKernel\EventListener\ExceptionListener($errorHandler));

``ExceptionListener`` gives you a ``FlattenException`` instance instead of the
thrown ``Exception`` instance to ease exception manipulation and display. It
Expand Down

0 comments on commit 0b7581d

Please sign in to comment.