mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Hard to solve issue 4 "Curl error code CURLE_URL_MALFORMAT" so we log the url
This commit is contained in:
parent
39ba67de4b
commit
aea3389bf2
2 changed files with 5 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue