mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-09 15:27:30 -05:00
Update index.js
This commit is contained in:
@@ -194,8 +194,7 @@ app.get('/clients', get_clients);
|
||||
app.get('/:shortName/clients', get_clients);
|
||||
app.use(function (err, req, res, next) {
|
||||
|
||||
res.status(err.status || 500);
|
||||
res.send(err.message);
|
||||
console.log("Error: " + err);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user