diff options
| author | horus | 2021-01-07 03:23:42 +0100 |
|---|---|---|
| committer | horus | 2021-01-07 03:23:42 +0100 |
| commit | 48b90ed22e6604ca869de054b499ac1bd4a4d6a2 (patch) | |
| tree | 1bf61adc72cf7c80a02e5fe6cac6b01d8bbbd476 /app/Exceptions/Handler.php | |
| parent | 2b6ef973377f4f36e374e1f672c807932b746364 (diff) | |
| download | kategorischeraperitif-48b90ed22e6604ca869de054b499ac1bd4a4d6a2.tar.gz | |
Upgrade Laravel from 5.6 to 8. Switch to subdomain instead of subfolder.
Diffstat (limited to 'app/Exceptions/Handler.php')
| -rw-r--r-- | app/Exceptions/Handler.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 7e2563a..1d20b77 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,7 +2,7 @@ namespace App\Exceptions; -use Exception; +use Throwable; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler @@ -34,7 +34,7 @@ class Handler extends ExceptionHandler * @param \Exception $exception * @return void */ - public function report(Exception $exception) + public function report(Throwable $exception) { parent::report($exception); } @@ -46,7 +46,7 @@ class Handler extends ExceptionHandler * @param \Exception $exception * @return \Illuminate\Http\Response */ - public function render($request, Exception $exception) + public function render($request, Throwable $exception) { return parent::render($request, $exception); } |
