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.
2 parents 673f758 + 063f98b commit d9118c2Copy full SHA for d9118c2
lib/Madcoda/Youtube.php
@@ -472,7 +472,7 @@ public function api_get($url, $params)
472
curl_setopt($tuCurl, CURLOPT_RETURNTRANSFER, 1);
473
$tuData = curl_exec($tuCurl);
474
if (curl_errno($tuCurl)) {
475
- throw new \Exception('Curl Error : ' . curl_error($tuCurl));
+ throw new \Exception('Curl Error : ' . curl_error($tuCurl), curl_errno($tuCurl));
476
}
477
return $tuData;
478
0 commit comments