From 81a7bd381164abb4085fb091c233ba630b47b455 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 5 Oct 2015 23:31:07 -0700 Subject: [PATCH] comment out console debugging --- lib/dbwrap.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/dbwrap.js b/lib/dbwrap.js index e90c3b7..b302794 100644 --- a/lib/dbwrap.js +++ b/lib/dbwrap.js @@ -165,7 +165,7 @@ function wrap(db, dir) { if (success) { return result; } else { - console.log('[debug result of set]', result.sql); + //console.log('[debug result of set]', result.sql); delete result.sql; console.log(result); } @@ -197,7 +197,7 @@ function wrap(db, dir) { ; }); - console.log('[debug] DB.create() sql:', sql); + //console.log('[debug] DB.create() sql:', sql); db.run(sql, [], function (err) { if (err) { reject(err); @@ -291,8 +291,9 @@ function wrap(db, dir) { // removes known fields from data var sql = strainUpdate(id, data/*, vals*/, sqlTpl); - console.log('[debug] DB.set() sql:', sql); + //console.log('[debug] DB.set() sql:', sql); db.run(sql, /*vals*/[], function (err) { + //console.log('[debug] error:', err); if (err) { reject(err); return;