Open anddah opened 8 years ago
The default way of handling error codes in Express 4 is using the property status
res.status(err.status || 500);
so all errors become 500 using default template in Express 4 which wasn't very clear
The default way of handling error codes in Express 4 is using the property status
res.status(err.status || 500);
so all errors become 500 using default template in Express 4 which wasn't very clear