Bugfix to previous bugfix

This commit is contained in:
2025-03-27 10:13:10 +01:00
parent 5d6f856b36
commit 63daccc66e
+1 -1
View File
@@ -92,7 +92,7 @@ abstract class HttpServicePresenter extends Presenter
protected function sendExceptionErrorResponse(Throwable $exception, $code = IResponse::S500_INTERNAL_SERVER_ERROR)
{
$this->response->setCode(IResponse::S500_INTERNAL_SERVER_ERROR);
$this->response->setCode($code);
$this->sendResponse(new JsonResponse(['fault' => [
'faultcode' => $code,
'faultstring' => $exception->getMessage(),