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,
lyrics: "",
});
} catch {
renderTemplate(res, req, "404.ejs", {
} catch (err) {
renderTemplate(res, req, "video-error.ejs", {
v,
err_reason:err;
});
}
} catch (error) {