1 | <?php |
||
13 | class Handler extends ExceptionHandler |
||
14 | { |
||
15 | /** |
||
16 | * A list of the exception types that should not be reported. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $dontReport = [ |
||
21 | HttpException::class, |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * Report or log an exception. |
||
26 | * |
||
27 | * This is a great spot to send exceptions to Sentry, Bugsnag, etc |
||
28 | * @param Exception $exception |
||
29 | * @internal param Exception $e |
||
30 | */ |
||
31 | public function report(Exception $exception) |
||
32 | { |
||
33 | return parent::report($exception); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Render an exception into an HTTP response. |
||
38 | * |
||
39 | * @param \Illuminate\Http\Request $request |
||
40 | * @param Exception $exception |
||
41 | * @return \Illuminate\Http\Response |
||
42 | * @internal param Exception $e |
||
43 | */ |
||
44 | public function render($request, Exception $exception) |
||
48 | } |
||
49 |