From c97332947d7206d4cc15fc11ec0c6ecaa0dfcc71 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 3 Sep 2015 18:17:08 -0700 Subject: [PATCH] mediarefresher: fix google drive ignores --- lib/channel/mediarefresher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/channel/mediarefresher.js b/lib/channel/mediarefresher.js index cb5f7907..228a0b7e 100644 --- a/lib/channel/mediarefresher.js +++ b/lib/channel/mediarefresher.js @@ -97,7 +97,7 @@ MediaRefresherModule.prototype.refreshGoogleDocs = function (media, cb) { } if (typeof err === "string") { - err = err.replace(/Google Drive lookup failed: /, ""); + err = err.replace(/Google Drive lookup failed for [\w-]+: /, ""); err = err.replace(/Forbidden/, "Access Denied"); err = err.replace(/You don't have permission to access this video\./, "Access Denied");