From f3dae85b99c0de991bd3d6f2d357e6525df2d388 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Thu, 22 May 2014 19:36:01 -0700 Subject: [PATCH] Add more useful error logging to google docs refresh --- lib/channel/playlist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/channel/playlist.js b/lib/channel/playlist.js index 88078211..67d60b65 100644 --- a/lib/channel/playlist.js +++ b/lib/channel/playlist.js @@ -1031,6 +1031,7 @@ PlaylistModule.prototype.refreshGoogleDocs = function (cb) { InfoGetter.getMedia(this.current.media.id, "gd", function (err, media) { if (err) { Logger.errlog.log("Google Docs autorefresh failed: " + err); + Logger.errlog.log("ID was: " + this.current.media.id); self.current.media.meta.object = self.current.media.meta.object || null; cb && cb(); self.channel.activeLock.release();