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 ca56017 commit 616412cCopy full SHA for 616412c
src/Traits/DefaultClient.php
@@ -13,7 +13,7 @@ public function getBaseUri(): ?string
13
14
public function handleEmptyResponse(?string $content = null, ?ResponseInterface $response = null)
15
{
16
- return null;
+ throw new \RuntimeException(sprintf("Request fail , response body is ein class %s", static::class), $response->getStatusCode());
17
}
18
19
public function isErrorResponse(array $data): bool
0 commit comments