Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Catch errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablePrime committed Feb 12, 2016
1 parent 11cfc54 commit 59a6b8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Live.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ Live.prototype.pollFollowers = function(channel) {
} else {
arr = result[0];
}
if(!arr) {
return;
}
arr = arr.reverse();
arr = arr.slice(0,99);
arr = arr.reverse();
Expand Down

0 comments on commit 59a6b8c

Please sign in to comment.