fix debug

This commit is contained in:
Girish Ramakrishnan 2016-06-24 11:43:53 -05:00
parent 91e8994109
commit 86d37411ef
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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',