Skip to content

Modular logistics and supply chain operating system (LSOS)

use ExceptionHandler from `fleetbase/core-api` package

Ronald A. Richardsona502e1f5f382
diff --git a/api/app/Exceptions/Handler.php b/api/app/Exceptions/Handler.php
index 8e7fbd1b..23228bfd 100644
--- a/api/app/Exceptions/Handler.php
+++ b/api/app/Exceptions/Handler.php
@@ -2,20 +2,10 @@
namespace App\Exceptions;
-use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
-use Throwable;
+use Fleetbase\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
- /**
- * A list of the exception types that are not reported.
- *
- * @var array<int, class-string<Throwable>>
- */
- protected $dontReport = [
- //
- ];
-
/**
* A list of the inputs that are never flashed for validation exceptions.
*
@@ -26,16 +16,4 @@ class Handler extends ExceptionHandler
'password',
'password_confirmation',
];
-
- /**
- * Register the exception handling callbacks for the application.
- *
- * @return void
- */
- public function register()
- {
- $this->reportable(function (Throwable $e) {
- //
- });
- }
}