Browse Source

20220830 api

LuluFJ.Ho 2 years ago
parent
commit
f3975e5002
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      app/Exceptions/Handler.php

+ 0
- 1
app/Exceptions/Handler.php View File

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