We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb762c commit 8010441Copy full SHA for 8010441
src/Traits/Cluster/MakesHttpCalls.php
@@ -84,7 +84,7 @@ public function call(string $method, string $path, string $payload = '', array $
84
RequestOptions::BODY => $payload,
85
]);
86
} catch (ClientException $e) {
87
- $errorPayload = json_decode((string) $e->getResponse()->getBody(), true);
+ $errorPayload = json_decode((string) $e->getResponse()->getBody()->getContents(), true);
88
89
throw new KubernetesAPIException(
90
$e->getMessage(),
0 commit comments