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