diff --git a/index.js b/index.js index 218ac96..f281787 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ Postgres.FirstRow = function(sql, response) { console.log(`${timestamp()} Running query:\n${sql}`); Postgres.query(sql, [], (err, res) => { if (err === null) { - console.log(`${timestamp()} Reponse: ${JSON.stringify(res.rows[0]).slice(0,100)}${JSON.stringify(res.rows[0]).length<100?'':'… (truncated)'}`); + console.log(`${timestamp()} Reponse: ${JSON.stringify(res.rows[0]).slice(0,5000)}${JSON.stringify(res.rows[0]).length<5000?'':'… (truncated)'}`); response.json(res.rows[0]); return; }