Error messages are truncated
dkossako opened this issue · 1 comments
dkossako commented
Hello,
when using php-k8s library, and when issue on cluster happens - it is not possible to catch whole error message, like here:
Client error:
GET https://kubernetes.default.svc/apis/apps/v1/deployments?pretty=1
resulted in a403 Forbidden
response:\n{\n "kind": "Status",\n "apiVersion": "v1",\n "metadata": {\n \n },\n "status": "Failure",\n "message": "deployments.a (truncated...)\n
It looks like it might be something related to Gozzle invocation here:
https://github.com/renoki-co/php-k8s/blob/master/src/Traits/Cluster/MakesHttpCalls.php#L89
stale commented
This issue has been automatically closed because it has not had any recent activity. 😨