mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-13 00:58:08 +01:00
add err here
This commit is contained in:
parent
c2682cdeac
commit
49de19ca5f
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue