From ba96ac72d83d0f17d6db6628c125c430e10fb5b5 Mon Sep 17 00:00:00 2001 From: ssh24 Date: Wed, 7 Jun 2017 15:02:27 -0400 Subject: [PATCH] Remove possible secuirity info on debug statements --- lib/connectors/base-connector.js | 2 +- lib/persisted-model.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/connectors/base-connector.js b/lib/connectors/base-connector.js index a3efc000..ae6871b2 100644 --- a/lib/connectors/base-connector.js +++ b/lib/connectors/base-connector.js @@ -31,7 +31,7 @@ function Connector(options) { EventEmitter.apply(this, arguments); this.options = options; - debug('created with options', options); + debug('created connector'); } /** diff --git a/lib/persisted-model.js b/lib/persisted-model.js index 964b03bf..da7333b3 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -1698,8 +1698,8 @@ module.exports = function(registry) { if (debug.enabled) { debug('rectifyOnSave %s -> ' + (id ? 'id %j' : '%s'), ctx.Model.modelName, id ? id : 'ALL'); - debug('context instance:%j currentInstance:%j where:%j data %j', - ctx.instance, ctx.currentInstance, ctx.where, ctx.data); + debug('context instance:%j currentInstance:%j where:%j', + ctx.instance, ctx.currentInstance, ctx.where); } if (id) {