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:
parent
cd2b0fa82d
commit
3649b13fe5
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user