aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-06-09 01:06:06 -0400
committerAdam Soltys <[email protected]>2022-06-08 22:08:07 -0700
commit3ae8bf7c50f7a1a845de0ae1387b8fec8ae77b4f (patch)
treea821f87a6b1cb8d0c56cd877b0065d00ae3c01cb /index.js
parentbdca954090e7cbdf511f438452e1eddc66f033fc (diff)
downloadcoinos-server-3ae8bf7c50f7a1a845de0ae1387b8fec8ae77b4f.tar.gz
coinos-server-3ae8bf7c50f7a1a845de0ae1387b8fec8ae77b4f.zip
tweaks to sync routine
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"