Skip to content

A free open source IT asset/license management system

Fix invalidJSON exception

snipea6d486ea8abc
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index f6449b25de..a81f1a4644 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -2,12 +2,14 @@
namespace App\Exceptions;
-use App\Helpers\Helper;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
+use App\Helpers\Helper;
+use Illuminate\Validation\ValidationException;
use Log;
+
class Handler extends ExceptionHandler
{
/**