Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
```

Expand Down