Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Twitter plugin: Log Twitter favorite parsing error
  • Loading branch information
ginatrapani committed Jun 23, 2012
1 parent 1d00bbf commit b9c9efd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions webapp/plugins/twitter/model/class.TwitterCrawler.php
Expand Up @@ -1678,10 +1678,8 @@ public function cleanUpMissedFavsUnFavs() {
break;
}
if ($cURL_status != 200 || $tweets == -1) {
// todo - handle more informatively
$this->logger->logInfo("in cleanUpMissedFavsUnFavs, error with: $twitter_data",
__METHOD__.','.__LINE__);
throw new Exception("in cleanUpUnFavs: error parsing favs");
$this->logger->logError("Error parsing favs. Twitter data: ".$twitter_data.
" cURL status: ".$cURL_status, __METHOD__.','.__LINE__);
}
if (sizeof($tweets) == 0) {
// then done paging backwards through the favs.
Expand Down

0 comments on commit b9c9efd

Please sign in to comment.