diff options
-rw-r--r-- | lib/db.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ function readFromDB(id, callback) { } else { //logger.info(result.rows); if (result.rows.length <= 0) { - callback("not found note in db: " + id, null); + callback("not found note in db: " + JSON.stringify(id), null); } else { if(config.debug) logger.info("read from db success"); |