Goodmorning,
Does API V8 log errors or Is there log for API V8 requests?
We have a problem, when create a record, return null and would like know the reason and if there are errors.
Thank you
B.
pgr
15 April 2020 12:05
2
I think it includes everything in the error response, like this
);
}
/**
* @param HttpResponse $httpResponse
* @param \Exception $exception
* @param integer $status
*
* @return HttpResponse
*/
public function generateErrorResponse(HttpResponse $httpResponse, \Exception $exception, $status)
{
$response = new ErrorResponse();
$response->setStatus($status);
$response->setDetail($exception->getMessage());
$response->setException($exception);
return $this->generateResponse($httpResponse, $response, $status);
}
}
but Iām just looking at the code, not using the API