Skip to content

Commit

Permalink
better message
Browse files Browse the repository at this point in the history
  • Loading branch information
kcassam authored Sep 22, 2016
1 parent 52656e0 commit 1411000
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/UrlsAnalytics/ApiCalls/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down Expand Up @@ -90,4 +90,4 @@ public function get(array $urls) {
public function setStep($step) {
$this->step = $step;
}
}
}

0 comments on commit 1411000

Please sign in to comment.