We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d68ae2d + 5bf1d10 commit 35f8962Copy full SHA for 35f8962
README.md
@@ -25,15 +25,15 @@ Add the Sentry service provider and facade in ``config/app.php``:
25
)
26
```
27
28
-Add Sentry reporting to ``App/Exceptions/Handler.php``:
+Add Sentry reporting to ``app/Exceptions/Handler.php``:
29
30
```php
31
-public function report(Exception $e)
+public function report(Exception $exception)
32
{
33
- if ($this->shouldReport($e)) {
34
- app('sentry')->captureException($e);
+ if ($this->shouldReport($exception)) {
+ app('sentry')->captureException($exception);
35
}
36
- parent::report($e);
+ parent::report($exception);
37
38
39
0 commit comments