From 5bf1d108a0a5dc2e9425e05ac8f774721da98ebc Mon Sep 17 00:00:00 2001 From: MeredithAnya Date: Fri, 6 Jan 2017 09:53:02 -0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b0c6712a..96a2b9e9 100644 --- a/README.md +++ b/README.md @@ -25,15 +25,15 @@ Add the Sentry service provider and facade in ``config/app.php``: ) ``` -Add Sentry reporting to ``App/Exceptions/Handler.php``: +Add Sentry reporting to ``app/Exceptions/Handler.php``: ```php -public function report(Exception $e) +public function report(Exception $exception) { - if ($this->shouldReport($e)) { - app('sentry')->captureException($e); + if ($this->shouldReport($exception)) { + app('sentry')->captureException($exception); } - parent::report($e); + parent::report($exception); } ```