Skip to content

Commit 35f8962

Browse files
authored
Merge pull request #45 from MeredithAnya/patch-2
Update README.md
2 parents d68ae2d + 5bf1d10 commit 35f8962

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ Add the Sentry service provider and facade in ``config/app.php``:
2525
)
2626
```
2727

28-
Add Sentry reporting to ``App/Exceptions/Handler.php``:
28+
Add Sentry reporting to ``app/Exceptions/Handler.php``:
2929

3030
```php
31-
public function report(Exception $e)
31+
public function report(Exception $exception)
3232
{
33-
if ($this->shouldReport($e)) {
34-
app('sentry')->captureException($e);
33+
if ($this->shouldReport($exception)) {
34+
app('sentry')->captureException($exception);
3535
}
36-
parent::report($e);
36+
parent::report($exception);
3737
}
3838
```
3939

0 commit comments

Comments
 (0)