more debugs

This commit is contained in:
Girish Ramakrishnan 2016-06-24 11:02:48 -05:00
parent c9a6fb1a2a
commit 91e8994109
3 changed files with 5 additions and 1 deletions

View File

@ -642,6 +642,8 @@ Cloudron.prototype.sendMail = function (account, to, callback) {
text: 'This release depends on you'
};
debug('Sending mail with options %j', mailOptions);
transport.sendMail(mailOptions, callback);
};

View File

@ -192,6 +192,8 @@ ImapProbe.prototype.probe = function (needle, callback) {
debug('Connection ended');
});
debug('probing for %j', needle);
this._connection.once('ready', function () {
debug('Connection success');

View File

@ -53,7 +53,7 @@ function sendMailToCloudronUser(email, callback) {
var mailOptions = {
to: email,
subject: 'Hi from e2e test',
subject: 'Hi from e2e test - ' + email.split('@')[1],
text: 'I hope you get this. The release depends on you!'
};