From 1411000c6571a4024c36d07bcd65d3f9a752d241 Mon Sep 17 00:00:00 2001 From: Ka Date: Thu, 22 Sep 2016 22:10:52 +0200 Subject: [PATCH] better message --- src/UrlsAnalytics/ApiCalls/Facebook.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UrlsAnalytics/ApiCalls/Facebook.php b/src/UrlsAnalytics/ApiCalls/Facebook.php index 42c9c1b..96c7024 100644 --- a/src/UrlsAnalytics/ApiCalls/Facebook.php +++ b/src/UrlsAnalytics/ApiCalls/Facebook.php @@ -38,10 +38,10 @@ public function get(array $urls) { } $incoming = file_get_contents($query); - echo "."; + echo "."; if ($incoming === false) { - $this->errors[] = "LINE ".__LINE__.'$incoming is false'; - return false; + $this->errors[] = "LINE ".__LINE__.'$incoming is false for query '.urldecode($query); + return false; } /* @@ -90,4 +90,4 @@ public function get(array $urls) { public function setStep($step) { $this->step = $step; } -} \ No newline at end of file +}