mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Log local PhantomJS error
This commit is contained in:
parent
cd2b0fa82d
commit
3649b13fe5
@ -57,11 +57,11 @@ class CurlUtils
|
|||||||
|
|
||||||
// Send the request
|
// Send the request
|
||||||
$client->send($request, $response);
|
$client->send($request, $response);
|
||||||
|
|
||||||
if ($response->getStatus() === 200) {
|
if ($response->getStatus() === 200) {
|
||||||
return $response->getContent();
|
return $response->getContent();
|
||||||
} else {
|
} else {
|
||||||
//$response->getStatus();
|
Utils::logError('Local PhantomJS Error: ' . $response->getStatus() . ' - ' . $url);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user