File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33namespace App \Exceptions ;
44
5- use Exception ;
5+ use Throwable ;
66use Illuminate \Foundation \Exceptions \Handler as ExceptionHandler ;
77
88class Handler extends ExceptionHandler
@@ -32,7 +32,7 @@ class Handler extends ExceptionHandler
3232 * @param \Exception $exception
3333 * @return void
3434 */
35- public function report (Exception $ exception )
35+ public function report (Throwable $ exception )
3636 {
3737 parent ::report ($ exception );
3838 }
@@ -44,7 +44,7 @@ public function report(Exception $exception)
4444 * @param \Exception $exception
4545 * @return \Illuminate\Http\Response
4646 */
47- public function render ($ request , Exception $ exception )
47+ public function render ($ request , Throwable $ exception )
4848 {
4949 return parent ::render ($ request , $ exception );
5050 }
You can’t perform that action at this time.
0 commit comments