Skip to content

Commit

Permalink
fixed small problem with handling http errors in Twitter connector
Browse files Browse the repository at this point in the history
  • Loading branch information
smurthas committed Apr 12, 2011
1 parent 5e4882c commit 4a976b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Connectors/Twitter/client.js
Expand Up @@ -347,8 +347,8 @@ function getIDs(friendsOrFolowers, screenName, callback) {
})
.addListener('http-error', function (data, resp) {
// data = transferred content, resp = repsonse object
sys.debug('HTTP Status Code > 400');
sys.debug('Headers: ' + sys.inspect(res.headers));
sys.debug('HTTP Status Code > 400 : ' + resp.statusCode);
sys.debug('Headers: ' + sys.inspect(resp.headers));
})
.addListener('http-client-error', function (data, resp) {
// data = transferred content, resp = repsonse object
Expand Down

0 comments on commit 4a976b5

Please sign in to comment.