Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
log less and more
  • Loading branch information
brianshaler committed May 26, 2012
1 parent e4bd30d commit 2e713a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/TwitterController.js
Expand Up @@ -155,6 +155,7 @@ exports.controller = function(req, res, next) {
});
stream.on('error', function(error) {
console.log("stream.error");
console.log(error);
attr.connected = false;
streaming = false;
try {
Expand Down Expand Up @@ -229,7 +230,7 @@ exports.controller = function(req, res, next) {

if (!tweets || tweets.length == 0 || !tweets[0] || !tweets[0].hasOwnProperty("id_str")) {
//console.log("No tweets..");
return finished("No tweets?");
return finished();
}

since_id = tweets[0].id_str;
Expand Down

0 comments on commit 2e713a6

Please sign in to comment.