summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2019-04-18 14:36:25 +0200
committerUrban Müller2019-04-18 14:36:25 +0200
commit2992f97fcd84e65c12f34134b0905ec692a67c9d (patch)
tree4e2aa535253cdbf259f328fec05f992bface86bb
parentbde0043efe2fefef8fa29e15e3315253c129d27c (diff)
downloaditools-2992f97fcd84e65c12f34134b0905ec692a67c9d.tar.gz
itools-2992f97fcd84e65c12f34134b0905ec692a67c9d.tar.bz2
itools-2992f97fcd84e65c12f34134b0905ec692a67c9d.zip
nicer err msg
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 70b525c..59ac212 100644
--- a/it_url.class
+++ b/it_url.class
@@ -296,7 +296,7 @@ function request($p=array())
}
if ($got === false && $p['retries'] <= 0) {
- it::error((array)$p['it_error'] + ['title' => "problem " . ($p['method'] ?: "GET") . "-ing $url->url with curl: (" . curl_errno($curl) . ") " . curl_error($curl), 'body' => curl_getinfo($curl) + ($p['verbose'] ? ['verbose' => $this->verbose] : [])]);
+ it::error((array)$p['it_error'] + ['title' => "problem " . ($p['method'] ?: "gett") . "ing $url->url with curl: (" . curl_errno($curl) . ") " . curl_error($curl), 'body' => curl_getinfo($curl) + ($p['verbose'] ? ['verbose' => $this->verbose] : [])]);
}
return $result;