Conditions | 4 |
Paths | 5 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function report(Exception $e) |
||
19 | { |
||
20 | foreach ($this->dontReport as $type) { |
||
21 | if ($e instanceof $type) { |
||
22 | return parent::report($e); |
||
23 | } |
||
24 | } |
||
25 | |||
26 | if (app()->bound('exception-monitor')) { |
||
27 | app('exception-monitor')->notifyException($e); |
||
28 | } |
||
29 | |||
30 | return parent::report($e); |
||
31 | } |
||
32 | } |