From 2c59ba04da5fa5678490b3e3083a8b780fac0f37 Mon Sep 17 00:00:00 2001 From: Patrick Louys Date: Tue, 1 Nov 2016 15:52:51 +0100 Subject: [PATCH] Updated code example --- 03-error-handler.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03-error-handler.md b/03-error-handler.md index 4429df6..b045e70 100644 --- a/03-error-handler.md +++ b/03-error-handler.md @@ -30,7 +30,7 @@ For development that does not make sense though -- you want a nice error page. T Then after the error handler registration, throw an `Exception` to test if everything is working correctly. Your `Bootstrap.php` should now look similar to this: ```php -pushHandler(new \Whoops\Handler\PrettyPageHandler); } else { $whoops->pushHandler(function($e){ - echo 'Friendly error page and send an email to the developer'; + echo 'Todo: Friendly error page and send an email to the developer'; }); } $whoops->register();