rrg92 commited on
Commit
c0538ec
·
1 Parent(s): c5addb2

Change result

Browse files
Files changed (1) hide show
  1. app/index.js +1 -0
app/index.js CHANGED
@@ -62,6 +62,7 @@ app.get('/', async (req, res) => {
62
  })
63
 
64
  app.use(function(err, req, res, next) {
 
65
  console.error(err.stack);
66
  res.json({error:'Server error, admin must check logs',status:res.status})
67
  });
 
62
  })
63
 
64
  app.use(function(err, req, res, next) {
65
+ console.log(err);
66
  console.error(err.stack);
67
  res.json({error:'Server error, admin must check logs',status:res.status})
68
  });