fix debug
This commit is contained in:
parent
91e8994109
commit
86d37411ef
@ -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');
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user