comment out console debugging

This commit is contained in:
AJ ONeal 2015-10-05 23:31:07 -07:00
parent 26311eba3b
commit 81a7bd3811
1 changed files with 4 additions and 3 deletions

View File

@ -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;