summaryrefslogtreecommitdiff
path: root/app/Exceptions
diff options
context:
space:
mode:
authorhorus2021-01-07 03:23:42 +0100
committerhorus2021-01-07 03:23:42 +0100
commit48b90ed22e6604ca869de054b499ac1bd4a4d6a2 (patch)
tree1bf61adc72cf7c80a02e5fe6cac6b01d8bbbd476 /app/Exceptions
parent2b6ef973377f4f36e374e1f672c807932b746364 (diff)
downloadkategorischeraperitif-48b90ed22e6604ca869de054b499ac1bd4a4d6a2.tar.gz
Upgrade Laravel from 5.6 to 8. Switch to subdomain instead of subfolder.
Diffstat (limited to 'app/Exceptions')
-rw-r--r--app/Exceptions/Handler.php6
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);
}