return generic '500' status on bootError page

This commit is contained in:
Daniel Cosby
2024-09-24 13:54:34 +01:00
parent 5b440b7a98
commit dc4a05101c
+1 -1
View File
@@ -29,7 +29,7 @@ function bootError(env, ctx) {
return '<dt><b>' + obj.desc + '</b></dt><dd>' + message.replace(/\\n/g, '<br/>') + '</dd>';
}).join(' ');
res.render('error.html', {
res.status(500).render('error.html', {
errors,
locals
});