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 5dd6c93c..d98e0df0 100644
--- a/index.js
+++ b/index.js
@@ -47,7 +47,7 @@ app.use((err, req, res, next) => {
if (req.user) details.username = req.user.username;
- l.error("JSON Error: ", details);
+ l.error("JSON Error: ", JSON.stringify(details));
res.status(500);
res.set({
"Cache-Control": "no-cache"