From ad0e48161bb11bf74e521c49a5094f0847fbfe2c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 5 Mar 2020 15:47:44 -0800 Subject: error log --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); -- cgit v1.2.3