diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index fc9f6a77..bfe53e2d 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -310,7 +310,7 @@ module.exports = function (app, config, renderTemplate) { } } catch (error) { console.error(error); - return res.redirect(`/watch?v=${req.query.v}&fx=1`); + return res.redirect(`/watch?v=${req.query.v}&fx=1&err=${btoa(error)}`); } }); });