aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-03-05 15:47:44 -0800
committerAdam Soltys <[email protected]>2020-03-05 15:47:44 -0800
commitad0e48161bb11bf74e521c49a5094f0847fbfe2c (patch)
tree52faa61f390a3b818c3318f716aac8f5816395be
parent43c2abbe6958a5de995b3cead5179ea3447ffca5 (diff)
downloadcoinos-server-ad0e48161bb11bf74e521c49a5094f0847fbfe2c.tar.gz
coinos-server-ad0e48161bb11bf74e521c49a5094f0847fbfe2c.zip
error log
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 7bdac6d7..d4610125 100644
--- a/index.js
+++ b/index.js
@@ -56,7 +56,7 @@ const l = require("pino")();
app.use(function(err, req, res, next) {
res.status(500);
res.send("An error occurred");
- l.info(err.stack);
+ l.error(err.stack);
return res.end();
});