aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index e535b16f..c006e1ea 100644
--- a/index.js
+++ b/index.js
@@ -107,7 +107,7 @@ app.use((err, req, res, next) => {
if (req.user) details.username = req.user.username;
- l.error("Error: ", details);
+ l.error("uncaught error: ", JSON.stringify(details));
res.status(500);
res.set({
"Cache-Control": "no-cache"