diff --git a/lib/db.js b/lib/db.js index c62be7a4c..4c51c291c 100644 --- a/lib/db.js +++ b/lib/db.js @@ -85,7 +85,7 @@ function readFromDB(id, callback) { } else { //logger.info(result.rows); if (result.rows.length <= 0) { - callback("not found note in db: " + JSON.stringify(id), null); + callback("not found note in db: " + util.inspect(id), null); } else { if(config.debug) logger.info("read from db success");