We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent debcfde commit 3fa264aCopy full SHA for 3fa264a
1 file changed
lib/db.js
@@ -85,7 +85,8 @@ function readFromDB(id, callback) {
85
} else {
86
//logger.info(result.rows);
87
if (result.rows.length <= 0) {
88
- callback("not found note in db: " + util.inspect(id), null);
+ callback("not found note in db", null);
89
+ return logger.error("not found note in db: " + id, err);
90
91
if(config.debug)
92
logger.info("read from db success");
0 commit comments