Преглед изворни кода

Merge branch 'dev' into pre

LuluFJ.Ho пре 3 година
родитељ
комит
648a76db33
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      app/Exceptions/Handler.php

+ 2
- 1
app/Exceptions/Handler.php Прегледај датотеку

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