mirror of https://github.com/calzoneman/sync.git
Add more useful error logging to google docs refresh
This commit is contained in:
parent
3994b42444
commit
f3dae85b99
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue