From f3a5c690e378d2ba06a5b7853bc8a120999163ce Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 7 Sep 2024 12:39:25 +0000 Subject: [PATCH] test a --- src/libpoketube/init/pages-video.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 0a249c2a..bb68309c 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -228,6 +228,8 @@ module.exports = function (app, config, renderTemplate) { const inv_vid = data?.vid; const desc = data?.desc || ""; + if(k.Error) res.send("error") + let d = false; if (desc !== "[object Object]") { d = desc.toString().replace(/\n/g, "
");