Node.js - Error Handling Patterns
Examine this Express error handler:
app.use((err, req, res) => {
res.status(500).json({ error: err.message });
});
What is the issue with this middleware?