LuluFJ.Ho il y a 2 ans
Parent
révision
62be083842
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      app/Exceptions/Handler.php

+ 2
- 1
app/Exceptions/Handler.php Voir le fichier

@@ -56,7 +56,8 @@ class Handler extends ExceptionHandler
56 56
     }
57 57
 
58 58
     public function handleApiException(Throwable $exception)
59
-    {
59
+    { 
60
+        dd($exception);
60 61
         // Route Not Found 404
61 62
         if ($exception instanceof RouteNotFoundException) {
62 63
             return $this->apiExceptionResponse($exception, Response::HTTP_NOT_FOUND, config('response-message.router_failed'));