Skip to content

Commit

Permalink
merged branch pedrotgimenez/part11 (PR #21)
Browse files Browse the repository at this point in the history
Commits
-------

60617d7 Fixed one typo.

Discussion
----------

Fixed one typo.
  • Loading branch information
fabpot committed Mar 2, 2012
2 parents aae0705 + 60617d7 commit 0d6beb1
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 @@ -75,7 +75,7 @@ make your error management configurable::
$msg = 'Something went wrong! ('.$exception->getMessage().')';

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

``ExceptionListener`` gives you a ``FlattenException`` instance instead of the
Expand Down

0 comments on commit 0d6beb1

Please sign in to comment.