Javascript – Why is global error handling middleware called after sending response in express js
Why the execution reaches to the global error handler and the value of err is 404 as im sending the res from /test route the req-res cycle should be ended, its not throwing error in response but it logs 404…