Commit b95b1de4 authored by Evan You's avatar Evan You

log error stack

parent b8ea9c36
......@@ -91,7 +91,7 @@ function render (req, res) {
// Render Error Page or Redirect
res.status(500).end('500 | Internal Server Error')
console.error(`error during render : ${req.url}`)
console.error(err)
console.error(err.stack)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment