Added DTO client position into OU
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
5c43c43342
commit
e9619575ae
|
@ -55,7 +55,7 @@ class StatusAction extends AbstractController
|
||||||
$client->setStatus('off');
|
$client->setStatus('off');
|
||||||
|
|
||||||
return new JsonResponse(
|
return new JsonResponse(
|
||||||
data: ['error' => 'An error occurred while communicating with the client'],
|
data: ['error' => $e->getMessage()],
|
||||||
status: Response::HTTP_INTERNAL_SERVER_ERROR
|
status: Response::HTTP_INTERNAL_SERVER_ERROR
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue