Javascript – how to wrap all request handlers in a wrapper function in express?
I'm developing an express application and instead of writing a try-catch block for each of the async request handler functions i wanna create a wrapper function that receives them as an argument and puts them in a try-catch block .…