1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Log local PhantomJS error

This commit is contained in:
Hillel Coren 2017-02-08 18:12:03 +02:00
parent cd2b0fa82d
commit 3649b13fe5

View File

@ -57,11 +57,11 @@ class CurlUtils
// Send the request
$client->send($request, $response);
if ($response->getStatus() === 200) {
return $response->getContent();
} else {
//$response->getStatus();
Utils::logError('Local PhantomJS Error: ' . $response->getStatus() . ' - ' . $url);
return false;
}
}