add err here

This commit is contained in:
ashley 2024-09-11 15:48:32 +00:00
parent c2682cdeac
commit 49de19ca5f

View file

@ -374,9 +374,10 @@ module.exports = function (app, config, renderTemplate) {
inv_vid, inv_vid,
lyrics: "", lyrics: "",
}); });
} catch { } catch (err) {
renderTemplate(res, req, "404.ejs", { renderTemplate(res, req, "video-error.ejs", {
v, v,
err_reason:err;
}); });
} }
} catch (error) { } catch (error) {