update
This commit is contained in:
@@ -62,7 +62,7 @@ class GatewayExceptionHandler extends ExceptionHandler
|
||||
$responseData = [
|
||||
'code' => $code,
|
||||
'message' => $message,
|
||||
'data' => null,
|
||||
'data' => method_exists($throwable, 'getData') ? $throwable->getData() : null,
|
||||
];
|
||||
|
||||
return $response
|
||||
|
||||
Reference in New Issue
Block a user