mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	build version 400
This commit is contained in:
		| @ -1,7 +1,7 @@ | ||||
| <?php | ||||
| namespace Crater\Exceptions; | ||||
|  | ||||
| use Exception; | ||||
| use Throwable; | ||||
| use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; | ||||
|  | ||||
| class Handler extends ExceptionHandler | ||||
| @ -30,10 +30,10 @@ class Handler extends ExceptionHandler | ||||
|      * | ||||
|      * This is a great spot to send exceptions to Sentry, Bugsnag, etc. | ||||
|      * | ||||
|      * @param  \Exception  $exception | ||||
|      * @param  \Throwable $exception | ||||
|      * @return void | ||||
|      */ | ||||
|     public function report(Exception $exception) | ||||
|     public function report(Throwable $exception) | ||||
|     { | ||||
|         parent::report($exception); | ||||
|     } | ||||
| @ -42,10 +42,10 @@ class Handler extends ExceptionHandler | ||||
|      * Render an exception into an HTTP response. | ||||
|      * | ||||
|      * @param  \Illuminate\Http\Request  $request | ||||
|      * @param  \Exception  $exception | ||||
|      * @param  \Throwable  $exception | ||||
|      * @return \Illuminate\Http\Response | ||||
|      */ | ||||
|     public function render($request, Exception $exception) | ||||
|     public function render($request, Throwable $exception) | ||||
|     { | ||||
|         return parent::render($request, $exception); | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user