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;
|
namespace App\Exceptions;
|
||||||
|
|
||||||
|
use Throwable;
|
||||||
use Exception;
|
use Exception;
|
||||||
use GrahamCampbell\Exceptions\ExceptionHandler;
|
use GrahamCampbell\Exceptions\ExceptionHandler;
|
||||||
use Illuminate\Auth\AuthenticationException;
|
use Illuminate\Auth\AuthenticationException;
|
||||||
|
@ -53,7 +54,7 @@ class Handler extends ExceptionHandler
|
||||||
* @param \Exception $e
|
* @param \Exception $e
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function report(Exception $e)
|
public function report(Throwable $e)
|
||||||
{
|
{
|
||||||
parent::report($e);
|
parent::report($e);
|
||||||
}
|
}
|
||||||
|
@ -65,7 +66,7 @@ class Handler extends ExceptionHandler
|
||||||
* @param \Exception $e
|
* @param \Exception $e
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function render($request, Exception $e)
|
public function render($request, Throwable $e)
|
||||||
{
|
{
|
||||||
return parent::render($request, $e);
|
return parent::render($request, $e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue