Pārlūkot izejas kodu

Merge branch 'dev' into pre

LuluFJ.Ho 2 gadus atpakaļ
vecāks
revīzija
7a0d70ac8e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      app/Exceptions/Handler.php

+ 1
- 0
app/Exceptions/Handler.php Parādīt failu

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'));