Skip to content

Commit

Permalink
log errors
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Nov 27, 2015
1 parent b8b8c2c commit 4a2188a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = function (app, passport) {
return next();
}

// console.error(err.stack);
console.error(err.stack);

if (err.stack.includes('ValidationError')) {
res.status(422).render('422', { error: err.stack });
Expand Down

0 comments on commit 4a2188a

Please sign in to comment.