瀏覽代碼

Merge branch 'dev' into pre

LuluFJ.Ho 2 年之前
父節點
當前提交
f2d973d2f8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      app/Exceptions/Handler.php

+ 1
- 1
app/Exceptions/Handler.php 查看文件

57
 
57
 
58
     public function handleApiException(Throwable $exception)
58
     public function handleApiException(Throwable $exception)
59
     { 
59
     { 
60
-        dd(123);
60
+        dd($exception);
61
         // Route Not Found 404
61
         // Route Not Found 404
62
         if ($exception instanceof RouteNotFoundException) {
62
         if ($exception instanceof RouteNotFoundException) {
63
             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'));