This commit is contained in:
2026-07-31 08:55:18 +08:00
parent be71680b2a
commit d0acbeea51

View File

@@ -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