📅  最后修改于: 2022-03-11 15:03:55.335000             🧑  作者: Mango
app.get('/', function (req, res, next) {
Promise.resolve().then(function () {
throw new Error('BROKEN')
}).catch(next) // Errors will be passed to Express.
})