mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-03 16:51:28 +01:00
Shift to Throwable
This commit is contained in:
parent
a6f58f867f
commit
f639c5653e
1 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Throwable;
|
||||
use Exception;
|
||||
use GrahamCampbell\Exceptions\ExceptionHandler;
|
||||
use Illuminate\Auth\AuthenticationException;
|
||||
|
@ -53,7 +54,7 @@ class Handler extends ExceptionHandler
|
|||
* @param \Exception $e
|
||||
* @return void
|
||||
*/
|
||||
public function report(Exception $e)
|
||||
public function report(Throwable $e)
|
||||
{
|
||||
parent::report($e);
|
||||
}
|
||||
|
@ -65,7 +66,7 @@ class Handler extends ExceptionHandler
|
|||
* @param \Exception $e
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function render($request, Exception $e)
|
||||
public function render($request, Throwable $e)
|
||||
{
|
||||
return parent::render($request, $e);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue