We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dcd189 commit 5de49bbCopy full SHA for 5de49bb
src/Drivers/RestDriver.php
@@ -135,7 +135,7 @@ private function restCall($uri, $data)
135
$body = json_decode($rawBody, true);
136
} catch (RequestException $e) {
137
$response = $e->getResponse();
138
- $rawBody = is_null($response) ? '{"Status":-98}' : $response->getBody()->getContents();
+ $rawBody = is_null($response) ? '{"Status":-98,"message":"http connection error"}' : $response->getBody()->getContents();
139
140
}
141
@@ -148,6 +148,7 @@ private function restCall($uri, $data)
148
149
/**
150
* @param mixed $baseUrl
151
+ * @return void
152
*/
153
public function setAddress($baseUrl)
154
{
0 commit comments