From 86d37411ef7f0d71ee6ff892f1ec5de90dc44028 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 24 Jun 2016 11:43:53 -0500 Subject: [PATCH] fix debug --- imap-probe.js | 2 +- mailer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imap-probe.js b/imap-probe.js index 2f6f6f5..593f445 100644 --- a/imap-probe.js +++ b/imap-probe.js @@ -192,7 +192,7 @@ ImapProbe.prototype.probe = function (needle, callback) { debug('Connection ended'); }); - debug('probing for %j', needle); + console.log('probing for %j', needle); // use console because needle has regexp this._connection.once('ready', function () { debug('Connection success'); diff --git a/mailer.js b/mailer.js index 3c3d223..8bd0db5 100644 --- a/mailer.js +++ b/mailer.js @@ -16,7 +16,7 @@ function send(options, callback) { assert.strictEqual(typeof options.subject, 'string'); assert.strictEqual(typeof options.text, 'string'); - debug('Sending email to %s with subject "%s".', options.to, options.subject); + debug('Sending email from %s to %s with subject "%s".', options.from, options.to, options.subject); postmark.send({ 'From': options.from || 'no-reply@cloudron.io',