remove unused files
This commit is contained in:
parent
4ae9fa9ead
commit
1a3ba36e04
|
@ -1,15 +0,0 @@
|
|||
const Helpers = require('../helpers');
|
||||
|
||||
async function handler(err, req, res, next) {
|
||||
if (res.headersSent) {
|
||||
return next(err)
|
||||
}
|
||||
res.status(500).send(Helpers.ViewLoader.load('error.pug', {
|
||||
error: '500 Internal Server Error',
|
||||
message: 'An unexpected error happened in the server'
|
||||
}));
|
||||
}
|
||||
|
||||
module.exports = (router) => {
|
||||
// router.use(handler);
|
||||
}
|
Loading…
Reference in New Issue