Browse Source

20221013 新增存取utm參數

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

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

100
             foreach ($exception->errors() as $col => $errorMsg) {
100
             foreach ($exception->errors() as $col => $errorMsg) {
101
                 $validationData['errors']['validation'][$col] = $errorMsg[0];
101
                 $validationData['errors']['validation'][$col] = $errorMsg[0];
102
             }
102
             }
103
+            dump($exception);
103
             return $this->apiExceptionResponse($exception, Response::HTTP_UNPROCESSABLE_ENTITY, config('response-message.validation_failed'), $validationData);
104
             return $this->apiExceptionResponse($exception, Response::HTTP_UNPROCESSABLE_ENTITY, config('response-message.validation_failed'), $validationData);
104
         }
105
         }
105
 
106