diff --git a/app/Libraries/CurlUtils.php b/app/Libraries/CurlUtils.php index ccd118e32063..263631fe5985 100644 --- a/app/Libraries/CurlUtils.php +++ b/app/Libraries/CurlUtils.php @@ -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; } }