Hard to solve issue 4 "Curl error code CURLE_URL_MALFORMAT" so we log the url

This commit is contained in:
djmaze 2020-08-30 17:34:58 +02:00
parent 39ba67de4b
commit aea3389bf2
2 changed files with 5 additions and 5 deletions

View file

@ -418,7 +418,7 @@ class Client {
);
if ($curlErrNo) {
throw new Exception('[CURL] Error while making request: ' . $curlError . ' (error code: ' . $curlErrNo . ')');
throw new Exception('[CURL] Error while making request: ' . $curlError . ' (error code: ' . $curlErrNo . ', uri: ' . $url . ')');
}
if ($response['statusCode']>=400) {