Skip to content

Commit

Permalink
Fixed one typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Gimenez committed Feb 25, 2012
1 parent aae0705 commit 60617d7
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 60617d7

Please sign in to comment.