From 4dd6fab12f5efa9636920b8df75cb07a78bf909c Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 7 Aug 2013 19:11:07 +0000 Subject: [PATCH] more youtube debugging --- modules/youtube/youtube.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/youtube/youtube.js b/modules/youtube/youtube.js index 9918440..5264134 100644 --- a/modules/youtube/youtube.js +++ b/modules/youtube/youtube.js @@ -59,6 +59,9 @@ var youtube = function(dbot) { 'json': true }, function(error, response, body) { console.log('DEBUG: well it got to the callback of the callback'); + console.log('DEBUG: ' + match[2]); + console.log('DEBUG: ' + error); + console.log('DEBUG: ' + body); if(_.isObject(body) && _.has(body, 'entry')) { var v = body.entry; if(!_.has(v, 'yt$rating')) {