Add more useful error logging to google docs refresh

This commit is contained in:
Calvin Montgomery 2014-05-22 19:36:01 -07:00
parent 3994b42444
commit f3dae85b99
1 changed files with 1 additions and 0 deletions

View File

@ -1031,6 +1031,7 @@ PlaylistModule.prototype.refreshGoogleDocs = function (cb) {
InfoGetter.getMedia(this.current.media.id, "gd", function (err, media) { InfoGetter.getMedia(this.current.media.id, "gd", function (err, media) {
if (err) { if (err) {
Logger.errlog.log("Google Docs autorefresh failed: " + 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; self.current.media.meta.object = self.current.media.meta.object || null;
cb && cb(); cb && cb();
self.channel.activeLock.release(); self.channel.activeLock.release();