Bundle up middlewares into one async error handler in express js (central error handling)

后端 未结 0 1167
梦谈多话
梦谈多话 2021-02-04 04:27

I have set up api end points like the following

// doesn\'t require to go through auth middleware
app.get(\'/api/list\', asyncErrorHandler(async (req, res) =>          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题