mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
return generic '500' status on bootError page
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user