Log local PhantomJS error
This commit is contained in:
parent
cd2b0fa82d
commit
3649b13fe5
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue